cfndsl 0.12.7 → 0.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 051fb1c0ebc5ab15bed4cac0049fa9a7dce21340
4
- data.tar.gz: 366d2501375350a29fc0e1d2d1c1dee01045ac7f
3
+ metadata.gz: 1b30c1f260eb62f28b0a8ff217d721a90e01c3c5
4
+ data.tar.gz: fe119234020061ded41d707ee0794e3310e670ca
5
5
  SHA512:
6
- metadata.gz: aff49378eba20cb92f6e310b0f4b1220cdb232328e8605a734a9b4a584c10bcb0d8c81dcb26c319dfe364b22cb64e1149b7e9605c7292bf754fed9d0515ddedc
7
- data.tar.gz: eb9fdce1e30154e7a0025870a31e36fbaf714eeb2a4c4409736ef12f44f350f9e84596e50fade0e17ab3eb9344fc5fd56df61db751b1bab9c8cf1ed1298d5827
6
+ metadata.gz: e38395a2492269ff7baa7a1ec2470677eb5eb9c2e63b204da46ef2239e50dcdd197fa381942baf52f1a660c5e5cb73a78fb5e32d497ca5becdff23e76b27eb38
7
+ data.tar.gz: 5a2b20beb0882f6fa5bdb32e3735015a0ae508d0adb8bc8f950fb197aee09356c9b635d66dac0bb6e6623640c60dd03713f826038f83de587dd02e27686e4e3d
@@ -213,10 +213,11 @@ Resources:
213
213
  ServiceToken: String
214
214
  "AWS::CloudFormation::Stack" :
215
215
  Properties:
216
+ NotificationARNs: [ String ]
217
+ Parameters: CloudFormationStackParameters
218
+ Tags: [ ResourceTag ]
216
219
  TemplateURL: String
217
220
  TimeoutInMinutes: String
218
- Parameters: CloudFormationStackParameters
219
- NotificationARNs: [ String ]
220
221
  "AWS::CloudFormation::WaitCondition" :
221
222
  Properties:
222
223
  Handle: String
@@ -714,11 +715,12 @@ Resources:
714
715
  "AWS::IAM::ManagedPolicy" :
715
716
  Properties:
716
717
  Description: String
717
- PolicyDocument: JSON
718
- Path: String
719
718
  Groups: [ String ]
720
- Users: [ String ]
719
+ Path: String
720
+ PolicyDocument: JSON
721
721
  Roles: [ String ]
722
+ Users: [ String ]
723
+ ManagedPolicyName: String
722
724
  "AWS::IAM::Policy" :
723
725
  Properties:
724
726
  PolicyName: String
@@ -1,3 +1,3 @@
1
1
  module CfnDsl
2
- VERSION = '0.12.7'.freeze
2
+ VERSION = '0.12.8'.freeze
3
3
  end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe CfnDsl::CloudFormationTemplate do
4
+ subject(:template) { described_class.new }
5
+
6
+ describe '#IAM_ManagedPolicy' do
7
+ it 'supports ManagedPolicyName property' do
8
+ template.IAM_ManagedPolicy(:TestPolicy) do
9
+ ManagedPolicyName 'test-policy'
10
+ end
11
+
12
+ expect(template.to_json).to include('"ManagedPolicyName":"test-policy"')
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfndsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.7
4
+ version: 0.12.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-23 00:00:00.000000000 Z
12
+ date: 2017-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -89,6 +89,7 @@ files:
89
89
  - sample/vpc_example.rb
90
90
  - sample/vpc_with_vpn_example.rb
91
91
  - spec/aws/ecs_task_definition_spec.rb
92
+ - spec/aws/iam_managed_policy_spec.rb
92
93
  - spec/aws/kms_alias_spec.rb
93
94
  - spec/aws/logs_log_group_spec.rb
94
95
  - spec/aws/rds_db_instance_spec.rb
@@ -138,6 +139,7 @@ specification_version: 4
138
139
  summary: AWS Cloudformation DSL
139
140
  test_files:
140
141
  - spec/aws/ecs_task_definition_spec.rb
142
+ - spec/aws/iam_managed_policy_spec.rb
141
143
  - spec/aws/kms_alias_spec.rb
142
144
  - spec/aws/logs_log_group_spec.rb
143
145
  - spec/aws/rds_db_instance_spec.rb