-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed instance_interruption_behaviour
field from spot_instance_request
#21771
Removed instance_interruption_behaviour
field from spot_instance_request
#21771
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccEC2SpotInstanceRequest*' PKG_NAME=internal/service/ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccEC2SpotInstanceRequest* -timeout 180m
=== RUN TestAccEC2SpotInstanceRequest_basic
=== PAUSE TestAccEC2SpotInstanceRequest_basic
=== RUN TestAccEC2SpotInstanceRequest_tags
=== PAUSE TestAccEC2SpotInstanceRequest_tags
=== RUN TestAccEC2SpotInstanceRequest_keyName
=== PAUSE TestAccEC2SpotInstanceRequest_keyName
=== RUN TestAccEC2SpotInstanceRequest_withLaunchGroup
=== PAUSE TestAccEC2SpotInstanceRequest_withLaunchGroup
=== RUN TestAccEC2SpotInstanceRequest_withBlockDuration
=== PAUSE TestAccEC2SpotInstanceRequest_withBlockDuration
=== RUN TestAccEC2SpotInstanceRequest_vpc
=== PAUSE TestAccEC2SpotInstanceRequest_vpc
=== RUN TestAccEC2SpotInstanceRequest_validUntil
=== PAUSE TestAccEC2SpotInstanceRequest_validUntil
=== RUN TestAccEC2SpotInstanceRequest_withoutSpotPrice
=== PAUSE TestAccEC2SpotInstanceRequest_withoutSpotPrice
=== RUN TestAccEC2SpotInstanceRequest_subnetAndSGAndPublicIPAddress
=== PAUSE TestAccEC2SpotInstanceRequest_subnetAndSGAndPublicIPAddress
=== RUN TestAccEC2SpotInstanceRequest_networkInterfaceAttributes
=== PAUSE TestAccEC2SpotInstanceRequest_networkInterfaceAttributes
=== RUN TestAccEC2SpotInstanceRequest_getPasswordData
=== PAUSE TestAccEC2SpotInstanceRequest_getPasswordData
=== RUN TestAccEC2SpotInstanceRequest_disappears
=== PAUSE TestAccEC2SpotInstanceRequest_disappears
=== RUN TestAccEC2SpotInstanceRequest_interruptStop
=== PAUSE TestAccEC2SpotInstanceRequest_interruptStop
=== RUN TestAccEC2SpotInstanceRequest_interruptHibernate
=== PAUSE TestAccEC2SpotInstanceRequest_interruptHibernate
=== RUN TestAccEC2SpotInstanceRequest_interruptUpdate
=== PAUSE TestAccEC2SpotInstanceRequest_interruptUpdate
=== CONT TestAccEC2SpotInstanceRequest_basic
=== CONT TestAccEC2SpotInstanceRequest_subnetAndSGAndPublicIPAddress
=== CONT TestAccEC2SpotInstanceRequest_networkInterfaceAttributes
=== CONT TestAccEC2SpotInstanceRequest_withBlockDuration
=== CONT TestAccEC2SpotInstanceRequest_withoutSpotPrice
=== CONT TestAccEC2SpotInstanceRequest_validUntil
=== CONT TestAccEC2SpotInstanceRequest_vpc
=== CONT TestAccEC2SpotInstanceRequest_keyName
=== CONT TestAccEC2SpotInstanceRequest_withLaunchGroup
=== CONT TestAccEC2SpotInstanceRequest_tags
=== CONT TestAccEC2SpotInstanceRequest_interruptStop
=== CONT TestAccEC2SpotInstanceRequest_interruptUpdate
=== CONT TestAccEC2SpotInstanceRequest_getPasswordData
=== CONT TestAccEC2SpotInstanceRequest_interruptHibernate
=== CONT TestAccEC2SpotInstanceRequest_disappears
--- PASS: TestAccEC2SpotInstanceRequest_withLaunchGroup (98.68s)
--- PASS: TestAccEC2SpotInstanceRequest_basic (99.91s)
--- PASS: TestAccEC2SpotInstanceRequest_validUntil (128.13s)
--- PASS: TestAccEC2SpotInstanceRequest_interruptHibernate (131.11s)
--- PASS: TestAccEC2SpotInstanceRequest_interruptStop (131.43s)
--- PASS: TestAccEC2SpotInstanceRequest_withoutSpotPrice (138.00s)
--- PASS: TestAccEC2SpotInstanceRequest_withBlockDuration (141.16s)
--- PASS: TestAccEC2SpotInstanceRequest_keyName (141.99s)
--- PASS: TestAccEC2SpotInstanceRequest_vpc (157.50s)
--- PASS: TestAccEC2SpotInstanceRequest_subnetAndSGAndPublicIPAddress (162.85s)
--- PASS: TestAccEC2SpotInstanceRequest_networkInterfaceAttributes (173.85s)
--- PASS: TestAccEC2SpotInstanceRequest_getPasswordData (181.20s)
--- PASS: TestAccEC2SpotInstanceRequest_tags (202.49s)
--- PASS: TestAccEC2SpotInstanceRequest_interruptUpdate (224.87s)
--- PASS: TestAccEC2SpotInstanceRequest_disappears (354.97s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 361.463s
@dirk39 Thanks for the contribution 🎉 👏. We'll merge this as part of v4.0.0, hopefully at the start of the new year. |
It will solve also #16191 |
instance_interruption_behaviour
field from spot_instance_request
* version 4 upgrade guide WIP * Remove `aws_vpn_connection` sections. The implementation does not set `Default` values on attributes and is backwards compatible. * add instructions for breaking change introduced in #19198 * add instructions for breaking change introduced in #22043 * add instructions for breaking change introduced in #21771 * add instructions for breaking change introduced in #22253 Co-authored-by: Kit Ewbank <[email protected]>
This functionality has been released in v4.0.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #16191
Output from acceptance testing:
The only test that failed is the
TestAccEC2SpotInstanceRequest_withBlockDuration
because the support of the fieldblock_duration_minutes
has been removed