kitchen-ec2 3.22.4 → 3.22.5
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/lib/kitchen/driver/ec2.rb +4 -4
- data/lib/kitchen/driver/ec2_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b0df53042d4b64a308daa562bf17cb8abd153401ef6dfcbe52923c0ce5f39e4
|
|
4
|
+
data.tar.gz: 42661134a81e0a10520b6fd1d0203dddd2e3243eb81a7ec311434fe6d13e79fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ad00804a1486a61c09e19f27208d66d1e711d65e68bb706d046af0f2c5d63b925a576a250045630488ba3940ec550809a473975fcf773ad45139ea21d429a08
|
|
7
|
+
data.tar.gz: c60ede94df2a091cee32097688b49acfdf7c5830a2e0029e6b980eab57fdcc53f5670d8366db916949b15c0ab7fab6fa642bb167b4da6265cb163b753c0ca59c
|
data/lib/kitchen/driver/ec2.rb
CHANGED
|
@@ -415,17 +415,17 @@ module Kitchen
|
|
|
415
415
|
|
|
416
416
|
# The instance type to use when the user did not choose one.
|
|
417
417
|
#
|
|
418
|
-
#
|
|
418
|
+
# t3 instances require a hardware-virtualized image, so a paravirtual
|
|
419
419
|
# image falls back to the older t1 family.
|
|
420
420
|
#
|
|
421
421
|
# @return [String] a free-tier instance type
|
|
422
422
|
def default_instance_type
|
|
423
423
|
@instance_type ||= if image && image.virtualization_type == "hvm"
|
|
424
|
-
info("instance_type not specified. Using free tier
|
|
425
|
-
"
|
|
424
|
+
info("instance_type not specified. Using free tier t3.micro instance ...")
|
|
425
|
+
"t3.micro"
|
|
426
426
|
else
|
|
427
427
|
info("instance_type not specified. Using free tier t1.micro instance since" \
|
|
428
|
-
" image is paravirtual (pick an hvm image to use the superior
|
|
428
|
+
" image is paravirtual (pick an hvm image to use the superior t3.micro!) ...")
|
|
429
429
|
"t1.micro"
|
|
430
430
|
end
|
|
431
431
|
end
|