kitchen-ec2 3.19.1 → 3.20.0
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 +4 -4
- data/LICENSE +1 -1
- data/lib/kitchen/driver/aws/client.rb +1 -1
- data/lib/kitchen/driver/aws/instance_generator.rb +6 -3
- data/lib/kitchen/driver/aws/standard_platform/alma.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/amazon.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/amazon2.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/amazon2023.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/centos.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/debian.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/fedora.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/freebsd.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/macos.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/rhel.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/rocky.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/ubuntu.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/windows.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform.rb +2 -2
- data/lib/kitchen/driver/ec2.rb +3 -2
- data/lib/kitchen/driver/ec2_version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f47ffd935db82650266d977423d84a3361466c34385adb49dcb782ce8f584b4d
|
4
|
+
data.tar.gz: 11a0789de1befe3293786fe5d4dcd305cda95517bdc5195738bffb1eefede547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f1555b120b84df599b4c3378c8ac4dc49ca485d08fdaa491c3ffa8ef11e175c4d1cfad534f8529eec4f71683e276062ed4454116279de82ab9ce3638d38426
|
7
|
+
data.tar.gz: b3c8845339ffc8f823881c4e336114ddd94139b193a192e5cef0fb0e25cd50b57f7bf69a03735f727d1407937527389337ef75aaa609339f891f6fc48f961a82
|
data/LICENSE
CHANGED
@@ -6,7 +6,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
you may not use this file except in compliance with the License.
|
7
7
|
You may obtain a copy of the License at
|
8
8
|
|
9
|
-
|
9
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
10
10
|
|
11
11
|
Unless required by applicable law or agreed to in writing, software
|
12
12
|
distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# you may not use this file except in compliance with the License.
|
9
9
|
# You may obtain a copy of the License at
|
10
10
|
#
|
11
|
-
#
|
11
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
12
12
|
#
|
13
13
|
# Unless required by applicable law or agreed to in writing, software
|
14
14
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# you may not use this file except in compliance with the License.
|
9
9
|
# You may obtain a copy of the License at
|
10
10
|
#
|
11
|
-
#
|
11
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
12
12
|
#
|
13
13
|
# Unless required by applicable law or agreed to in writing, software
|
14
14
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -35,8 +35,8 @@ module Kitchen
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# Transform the provided kitchen config into the hash we'll use to create the aws instance
|
38
|
-
# can be passed in null, others need to be
|
39
|
-
# Some fields can be passed in null, others need to be
|
38
|
+
# can be passed in null, others need to be omitted if they are null
|
39
|
+
# Some fields can be passed in null, others need to be omitted if they are null
|
40
40
|
# @return [Hash]
|
41
41
|
def ec2_instance_data
|
42
42
|
# Support for looking up security group id and subnet id using tags.
|
@@ -173,6 +173,9 @@ module Kitchen
|
|
173
173
|
if config[:security_group_ids]
|
174
174
|
i[:network_interfaces][0][:groups] = i.delete(:security_group_ids)
|
175
175
|
end
|
176
|
+
if config[:associate_ipv6]
|
177
|
+
i[:network_interfaces][0][:ipv_6_address_count] = 1
|
178
|
+
end
|
176
179
|
end
|
177
180
|
availability_zone = config[:availability_zone]
|
178
181
|
if availability_zone
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
6
6
|
# You may obtain a copy of the License at
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
9
9
|
#
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
7
7
|
# You may obtain a copy of the License at
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
10
|
#
|
11
11
|
# Unless required by applicable law or agreed to in writing, software
|
12
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -82,7 +82,7 @@ module Kitchen
|
|
82
82
|
#
|
83
83
|
# @return [String]
|
84
84
|
#
|
85
|
-
# @see
|
85
|
+
# @see SUPPORTED_ARCHITECTURES
|
86
86
|
#
|
87
87
|
attr_reader :architecture
|
88
88
|
|
data/lib/kitchen/driver/ec2.rb
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
# you may not use this file except in compliance with the License.
|
9
9
|
# You may obtain a copy of the License at
|
10
10
|
#
|
11
|
-
#
|
11
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
12
12
|
#
|
13
13
|
# Unless required by applicable law or agreed to in writing, software
|
14
14
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -85,6 +85,7 @@ module Kitchen
|
|
85
85
|
default_config :image_search, nil
|
86
86
|
default_config :username, nil
|
87
87
|
default_config :associate_public_ip, nil
|
88
|
+
default_config :associate_ipv6, nil
|
88
89
|
default_config :interface, nil
|
89
90
|
default_config :http_proxy, ENV["HTTPS_PROXY"] || ENV.fetch("HTTP_PROXY", nil)
|
90
91
|
default_config :retry_limit, 3
|
@@ -914,7 +915,7 @@ module Kitchen
|
|
914
915
|
puts "ENI #{config[:elastic_network_interface_id]} already attached."
|
915
916
|
end
|
916
917
|
rescue ::Aws::EC2::Errors::InvalidNetworkInterfaceIDNotFound => e
|
917
|
-
warn(e
|
918
|
+
warn(e)
|
918
919
|
end
|
919
920
|
end
|
920
921
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# you may not use this file except in compliance with the License.
|
9
9
|
# You may obtain a copy of the License at
|
10
10
|
#
|
11
|
-
#
|
11
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
12
12
|
#
|
13
13
|
# Unless required by applicable law or agreed to in writing, software
|
14
14
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -19,6 +19,6 @@
|
|
19
19
|
module Kitchen
|
20
20
|
module Driver
|
21
21
|
# Version string for EC2 Test Kitchen driver
|
22
|
-
EC2_VERSION = "3.
|
22
|
+
EC2_VERSION = "3.20.0".freeze
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Test Kitchen Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-ec2
|