-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_ec2_capacity_reservation: Refactor tagging logic to keyvaluetags package #10775
r/aws_ec2_capacity_reservation: Refactor tagging logic to keyvaluetags package #10775
Conversation
@@ -182,10 +183,10 @@ func TestAccAWSEc2CapacityReservation_endDateType(t *testing.T) { | |||
ImportStateVerify: true, | |||
}, | |||
{ | |||
Config: testAccEc2CapacityReservationConfig_endDate("2019-10-31T07:39:57Z"), | |||
Config: testAccEc2CapacityReservationConfig_endDate(endDate), |
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.
Else
--- FAIL: TestAccAWSEc2CapacityReservation_endDateType (28.84s)
testing.go:615: Step 2 error: errors during apply:
Error: Error modifying EC2 Capacity Reservation: InvalidParameterValue: The specified EndDate has already passed. Specify an EndDate in the future.
status code: 400, request id: 1dca56a0-3db9-40bf-9d6c-e8b2618ea8a0
on /tmp/tf-test066699505/main.tf line 4:
(source code not available)
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.
Thank you for fixing this!
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, thanks @ewbankkit 🚀
Output from acceptance testing:
--- SKIP: TestAccAWSEc2CapacityReservation_tenancy (0.00s)
--- PASS: TestAccAWSEc2CapacityReservation_ephemeralStorage (11.85s)
--- PASS: TestAccAWSEc2CapacityReservation_ebsOptimized (12.03s)
--- PASS: TestAccAWSEc2CapacityReservation_instanceMatchCriteria (13.00s)
--- PASS: TestAccAWSEc2CapacityReservation_basic (13.05s)
--- PASS: TestAccAWSEc2CapacityReservation_instanceCount (18.59s)
--- PASS: TestAccAWSEc2CapacityReservation_endDate (19.48s)
--- PASS: TestAccAWSEc2CapacityReservation_instanceType (19.68s)
--- PASS: TestAccAWSEc2CapacityReservation_tags (24.69s)
--- PASS: TestAccAWSEc2CapacityReservation_endDateType (24.72s)
This has been released in version 2.35.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 for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates #10688.
Release note for CHANGELOG:
Output from acceptance testing: