kitchen-cloudformation 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 77e860d2eed1be800f489d22a77860cc9bcd6a24
4
- data.tar.gz: 977f557d02a06154bae1da7137ef1e7914db0c0a
2
+ SHA256:
3
+ metadata.gz: 4b081e6ab2c48fa7a7d86d2ad40505ad1830eabd5adbf970c1ec74bb03637bd8
4
+ data.tar.gz: ca9fe026702761a503dc23615e9d2e01f8699cfabe0f1117f3b3fbd2b4492431
5
5
  SHA512:
6
- metadata.gz: 9b9bc5ce2517ac786588077833f49814b550b95cd6ea4d7c18287c364eb05b57eff2c7a86f84f1579b58a0ee1be5461a23d5819148f88be90fcd45e7c2a3a241
7
- data.tar.gz: a5b1ef6071e1021135b5c1f3028eb867964e43e4d15ea5b8ace409c6e5b9950653dd742d1e3ca5ad54b293057ecb6e183ffad21e95ecdeef69e8cd2d4d907440
6
+ metadata.gz: 6be3bce72b8f307d63ef165eac1c6697599518ddaa9b0c490286d68596c17e4ec54cf0d1d2d0eaac1b12a36f3819735f15387786b15b4deba3fec7c1936c5610
7
+ data.tar.gz: 2a39b6b0afd846f52e61fcb9524f7e1b3b2052198a2735e17a54504ff4f6076dec96c85c0a9d7542eef811b3c855e145bcb66ca02993aae13ba7ea3624df39e3
data/README.md CHANGED
@@ -12,7 +12,7 @@ If you wish to use servers specified as a hostname in the converge step then use
12
12
  So you can deploy and test say a Mongodb High Availability cluster by using cloud formation to create the servers
13
13
  and then converge each of the servers in the cluster and run tests.
14
14
 
15
- This can be used with [kitchen-verifier-awspec](https://github.com/neillturner/kitchen-verifier-awspec) to do verification of AWS infrastructure.
15
+ This can be used with [kitchen-inspec](https://github.com/chef/kitchen-inspec) or [kitchen-verifier-awspec](https://github.com/neillturner/kitchen-verifier-awspec) to do verification of AWS infrastructure.
16
16
 
17
17
  ## Requirements
18
18
 
@@ -83,6 +83,22 @@ through CI we no longer recommend storing the AWS credentials in the
83
83
  `.kitchen.yml` file. Instead, specify them as environment variables or in the
84
84
  `~/.aws/credentials` file.
85
85
 
86
+ ## Change Sets
87
+
88
+ Normally kitchen-cloudformation creates the stack from the template file when the kitchen create command if run.
89
+
90
+ If you specify a change_set_name and a change_set_template_file
91
+
92
+ ```yaml
93
+ template_file: TestSecurityGroup.template
94
+ change_set_name: mystack-cs
95
+ change_set_template_file: TestSecurityGroupCs.template
96
+ ```
97
+
98
+ then it will also create the change set from the change_set_template_file.
99
+
100
+ Then when the kitchen converge is run it will apply the change-set so it can be tested.
101
+
86
102
 
87
103
  ## SSL Certificate File Issues
88
104
 
@@ -16,9 +16,9 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = []
17
17
  gem.require_paths = ['lib']
18
18
  gem.required_ruby_version = '>= 2.2.2'
19
- gem.add_dependency 'test-kitchen', '~> 1.4', '>= 1.4.1'
19
+ gem.add_dependency 'aws-sdk', '~> 2'
20
20
  gem.add_dependency 'excon'
21
21
  gem.add_dependency 'multi_json'
22
- gem.add_dependency 'aws-sdk', '~> 2'
23
22
  gem.add_dependency 'retryable', '~> 2.0'
23
+ gem.add_dependency 'test-kitchen', '>= 1.4.1'
24
24
  end
@@ -14,6 +14,6 @@
14
14
  module Kitchen
15
15
  module Driver
16
16
  # Version string for CloudFormation Test Kitchen driver
17
- CLOUDFORMATION_VERSION = '1.4.1'.freeze
17
+ CLOUDFORMATION_VERSION = '1.5.0'.freeze
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2019-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: test-kitchen
14
+ name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.4'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.4.1
19
+ version: '2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '1.4'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 1.4.1
26
+ version: '2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: excon
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,33 +53,33 @@ dependencies:
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
55
  - !ruby/object:Gem::Dependency
62
- name: aws-sdk
56
+ name: retryable
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '2'
61
+ version: '2.0'
68
62
  type: :runtime
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '2'
68
+ version: '2.0'
75
69
  - !ruby/object:Gem::Dependency
76
- name: retryable
70
+ name: test-kitchen
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
- - - "~>"
73
+ - - ">="
80
74
  - !ruby/object:Gem::Version
81
- version: '2.0'
75
+ version: 1.4.1
82
76
  type: :runtime
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
- - - "~>"
80
+ - - ">="
87
81
  - !ruby/object:Gem::Version
88
- version: '2.0'
82
+ version: 1.4.1
89
83
  description: A Test Kitchen Driver for Amazon AWS CloudFormation
90
84
  email:
91
85
  - neillwturner@gmail.com
@@ -122,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
116
  - !ruby/object:Gem::Version
123
117
  version: '0'
124
118
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.6.13
119
+ rubygems_version: 3.0.3
127
120
  signing_key:
128
121
  specification_version: 4
129
122
  summary: A Test Kitchen Driver for AWS CloudFormation