-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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/ec2_ami
and d/ec2_ami
- Support deprecate time for AMIs
#24489
r/ec2_ami
and d/ec2_ami
- Support deprecate time for AMIs
#24489
Conversation
Acceptance test output: % make testacc TESTS=TestAccEC2AMI_basic PKG=ec2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2AMI_basic' -timeout 180m === RUN TestAccEC2AMI_basic === PAUSE TestAccEC2AMI_basic === CONT TestAccEC2AMI_basic --- PASS: TestAccEC2AMI_basic (56.29s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 60.399s
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 TESTS=TestAccEC2AMI PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run='TestAccEC2AMI' -timeout 180m
=== RUN TestAccEC2AMICopy_basic
=== PAUSE TestAccEC2AMICopy_basic
=== RUN TestAccEC2AMICopy_description
=== PAUSE TestAccEC2AMICopy_description
=== RUN TestAccEC2AMICopy_enaSupport
=== PAUSE TestAccEC2AMICopy_enaSupport
=== RUN TestAccEC2AMICopy_destinationOutpost
=== PAUSE TestAccEC2AMICopy_destinationOutpost
=== RUN TestAccEC2AMICopy_tags
=== PAUSE TestAccEC2AMICopy_tags
=== RUN TestAccEC2AMIDataSource_natInstance
=== PAUSE TestAccEC2AMIDataSource_natInstance
=== RUN TestAccEC2AMIDataSource_windowsInstance
=== PAUSE TestAccEC2AMIDataSource_windowsInstance
=== RUN TestAccEC2AMIDataSource_instanceStore
=== PAUSE TestAccEC2AMIDataSource_instanceStore
=== RUN TestAccEC2AMIDataSource_localNameFilter
=== PAUSE TestAccEC2AMIDataSource_localNameFilter
=== RUN TestAccEC2AMIDataSource_gp3BlockDevice
=== PAUSE TestAccEC2AMIDataSource_gp3BlockDevice
=== RUN TestAccEC2AMIFromInstance_basic
=== PAUSE TestAccEC2AMIFromInstance_basic
=== RUN TestAccEC2AMIFromInstance_tags
=== PAUSE TestAccEC2AMIFromInstance_tags
=== RUN TestAccEC2AMIFromInstance_disappears
=== PAUSE TestAccEC2AMIFromInstance_disappears
=== RUN TestAccEC2AMIIDsDataSource_basic
=== PAUSE TestAccEC2AMIIDsDataSource_basic
=== RUN TestAccEC2AMIIDsDataSource_sorted
=== PAUSE TestAccEC2AMIIDsDataSource_sorted
=== RUN TestAccEC2AMILaunchPermission_basic
=== PAUSE TestAccEC2AMILaunchPermission_basic
=== RUN TestAccEC2AMILaunchPermission_disappears
=== PAUSE TestAccEC2AMILaunchPermission_disappears
=== RUN TestAccEC2AMILaunchPermission_Disappears_ami
=== PAUSE TestAccEC2AMILaunchPermission_Disappears_ami
=== RUN TestAccEC2AMILaunchPermission_group
=== PAUSE TestAccEC2AMILaunchPermission_group
=== RUN TestAccEC2AMILaunchPermission_organizationARN
=== PAUSE TestAccEC2AMILaunchPermission_organizationARN
=== RUN TestAccEC2AMILaunchPermission_organizationalUnitARN
=== PAUSE TestAccEC2AMILaunchPermission_organizationalUnitARN
=== RUN TestAccEC2AMI_basic
=== PAUSE TestAccEC2AMI_basic
=== RUN TestAccEC2AMI_deprecateAt
=== PAUSE TestAccEC2AMI_deprecateAt
=== RUN TestAccEC2AMI_description
=== PAUSE TestAccEC2AMI_description
=== RUN TestAccEC2AMI_disappears
=== PAUSE TestAccEC2AMI_disappears
=== RUN TestAccEC2AMI_ephemeralBlockDevices
=== PAUSE TestAccEC2AMI_ephemeralBlockDevices
=== RUN TestAccEC2AMI_gp3BlockDevice
=== PAUSE TestAccEC2AMI_gp3BlockDevice
=== RUN TestAccEC2AMI_tags
=== PAUSE TestAccEC2AMI_tags
=== RUN TestAccEC2AMI_outpost
=== PAUSE TestAccEC2AMI_outpost
=== RUN TestAccEC2AMI_boot
=== PAUSE TestAccEC2AMI_boot
=== CONT TestAccEC2AMICopy_basic
=== CONT TestAccEC2AMILaunchPermission_basic
=== CONT TestAccEC2AMIDataSource_localNameFilter
--- PASS: TestAccEC2AMIDataSource_localNameFilter (41.69s)
=== CONT TestAccEC2AMI_description
--- PASS: TestAccEC2AMI_description (51.70s)
=== CONT TestAccEC2AMI_boot
--- PASS: TestAccEC2AMI_boot (53.39s)
=== CONT TestAccEC2AMI_outpost
acctest.go:1308: skipping since no Outposts found
--- SKIP: TestAccEC2AMI_outpost (0.72s)
=== CONT TestAccEC2AMI_tags
--- PASS: TestAccEC2AMI_tags (81.23s)
=== CONT TestAccEC2AMI_gp3BlockDevice
--- PASS: TestAccEC2AMI_gp3BlockDevice (55.58s)
=== CONT TestAccEC2AMI_ephemeralBlockDevices
--- PASS: TestAccEC2AMI_ephemeralBlockDevices (54.52s)
=== CONT TestAccEC2AMI_disappears
--- PASS: TestAccEC2AMILaunchPermission_basic (362.35s)
=== CONT TestAccEC2AMILaunchPermission_organizationARN
--- PASS: TestAccEC2AMICopy_basic (371.22s)
=== CONT TestAccEC2AMI_deprecateAt
--- PASS: TestAccEC2AMI_disappears (51.82s)
=== CONT TestAccEC2AMI_basic
--- PASS: TestAccEC2AMI_deprecateAt (66.37s)
=== CONT TestAccEC2AMILaunchPermission_organizationalUnitARN
acctest.go:697: skipping tests; this AWS account must not be an existing member of an AWS Organization
--- SKIP: TestAccEC2AMILaunchPermission_organizationalUnitARN (0.12s)
=== CONT TestAccEC2AMILaunchPermission_Disappears_ami
--- PASS: TestAccEC2AMI_basic (55.33s)
=== CONT TestAccEC2AMILaunchPermission_group
--- PASS: TestAccEC2AMILaunchPermission_organizationARN (358.07s)
=== CONT TestAccEC2AMIFromInstance_basic
--- PASS: TestAccEC2AMILaunchPermission_Disappears_ami (355.68s)
=== CONT TestAccEC2AMIFromInstance_tags
--- PASS: TestAccEC2AMILaunchPermission_group (356.12s)
=== CONT TestAccEC2AMIFromInstance_disappears
--- PASS: TestAccEC2AMIFromInstance_basic (327.17s)
=== CONT TestAccEC2AMICopy_tags
--- PASS: TestAccEC2AMIFromInstance_disappears (297.89s)
=== CONT TestAccEC2AMIIDsDataSource_sorted
--- PASS: TestAccEC2AMIFromInstance_tags (389.42s)
=== CONT TestAccEC2AMIDataSource_instanceStore
--- PASS: TestAccEC2AMIIDsDataSource_sorted (91.02s)
=== CONT TestAccEC2AMIIDsDataSource_basic
--- PASS: TestAccEC2AMIIDsDataSource_basic (12.11s)
=== CONT TestAccEC2AMIDataSource_windowsInstance
--- PASS: TestAccEC2AMIDataSource_instanceStore (33.00s)
=== CONT TestAccEC2AMICopy_enaSupport
--- PASS: TestAccEC2AMIDataSource_windowsInstance (36.44s)
=== CONT TestAccEC2AMIDataSource_natInstance
--- PASS: TestAccEC2AMIDataSource_natInstance (34.79s)
=== CONT TestAccEC2AMICopy_destinationOutpost
acctest.go:1308: skipping since no Outposts found
--- SKIP: TestAccEC2AMICopy_destinationOutpost (0.49s)
=== CONT TestAccEC2AMILaunchPermission_disappears
--- PASS: TestAccEC2AMICopy_tags (396.09s)
=== CONT TestAccEC2AMIDataSource_gp3BlockDevice
--- PASS: TestAccEC2AMIDataSource_gp3BlockDevice (52.09s)
=== CONT TestAccEC2AMICopy_description
--- PASS: TestAccEC2AMICopy_enaSupport (379.08s)
--- PASS: TestAccEC2AMILaunchPermission_disappears (354.16s)
--- PASS: TestAccEC2AMICopy_description (380.75s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 1882.759s
@Nnachevvv Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.13.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 #24454
This PR:
r/ec2_ami
andd/ec2_ami
.r/ec2_ami
have been failing becauseoutpost_arn
has not been included toebs_block_device
map.Output from acceptance testing: