-
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
resource/aws_ami*: Fix ena_support attribute for copy/from_instance and uncouple common schema function #5433
Conversation
…nd uncouple common schema function
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.
Is there no new acc test to demonstrate the issue?
…pyDestroy, testAccCheckAWSEbsSnapshotDestroy, and TestAccAWSAMICopy_EnaSupport === RUN TestAccAWSAMICopy_basic --- PASS: TestAccAWSAMICopy_basic (461.78s) === RUN TestAccAWSAMICopy_EnaSupport --- PASS: TestAccAWSAMICopy_EnaSupport (404.16s) === RUN TestAccAWSEBSSnapshot_basic --- PASS: TestAccAWSEBSSnapshot_basic (152.68s) === RUN TestAccAWSEBSSnapshot_withDescription --- PASS: TestAccAWSEBSSnapshot_withDescription (43.34s) === RUN TestAccAWSEBSSnapshot_withKms --- PASS: TestAccAWSEBSSnapshot_withKms (77.37s)
@paultyng sorry, adding the test took longer than expected due to these older resources missing broken out acceptance test check functions. On master:
On this branch:
|
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.
👍
This has been released in version 1.31.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
Regression introduced by #5395
Fixes #5431
Changes proposed in this pull request:
resourceAwsAmiCommonSchema
toaws_ami
("uncomputed" version),aws_ami_copy
("computed" version), andaws_ami_from_instance
("computed" version)ena_support
attribute isComputed: true
foraws_ami_copy
andaws_ami_from_instance
Output from acceptance testing: