-
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
aws_efs_file_system: Support single Availability Zone storage classes #18319
Conversation
d973fc5
to
1ed36db
Compare
@@ -22,6 +22,14 @@ func dataSourceAwsEfsFileSystem() *schema.Resource { | |||
Type: schema.TypeString, | |||
Computed: true, | |||
}, | |||
"availability_zone_id": { |
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.
Hi @shuheiktgw 👋 Can you please add changelog entries for these new schema attributes? Reference: https://github.com/hashicorp/terraform-provider-aws/blob/main/docs/contributing/pullrequest-submission-and-lifecycle.md#changelog-process
e.g. a new file called .changelog/18319.txt
with contents:
```release-note:enhancement
data-source/aws_efs_file_system: Add `availability_zone_id` and `availability_zone_name` attributes
```
```release-note:enhancement
resource/aws_efs_file_system: Add `availability_zone_id` attribute and `availability_zone_name` argument
```
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.
Sorry that I haven't noticed the new change log format! I'll fix it now!
Thank you for your review, @bflad! I've added change logs and resolved the conflict. Would you review the PR again? |
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.
Looks great, thank you, @shuheiktgw 🚀
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSEFSFileSystem_availabilityZoneName (52.85s)
--- PASS: TestAccAWSEFSFileSystem_basic (100.05s)
--- PASS: TestAccAWSEFSFileSystem_disappears (89.46s)
--- PASS: TestAccAWSEFSFileSystem_kmsConfigurationWithoutEncryption (11.16s)
--- PASS: TestAccAWSEFSFileSystem_kmsKey (78.45s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy (135.47s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy_removal (151.08s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy_update (86.82s)
--- PASS: TestAccAWSEFSFileSystem_pagedTags (50.41s)
--- PASS: TestAccAWSEFSFileSystem_ProvisionedThroughputInMibps (100.30s)
--- PASS: TestAccAWSEFSFileSystem_tags (115.88s)
--- PASS: TestAccAWSEFSFileSystem_ThroughputMode (159.30s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_availabilityZone (65.70s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_id (123.56s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_name (133.45s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_NonExistent (5.64s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSEFSFileSystem_availabilityZoneName (152.34s)
--- PASS: TestAccAWSEFSFileSystem_basic (126.80s)
--- PASS: TestAccAWSEFSFileSystem_disappears (215.97s)
--- PASS: TestAccAWSEFSFileSystem_kmsConfigurationWithoutEncryption (14.42s)
--- PASS: TestAccAWSEFSFileSystem_kmsKey (83.93s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy (120.63s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy_removal (146.67s)
--- PASS: TestAccAWSEFSFileSystem_lifecyclePolicy_update (116.64s)
--- PASS: TestAccAWSEFSFileSystem_pagedTags (144.91s)
--- PASS: TestAccAWSEFSFileSystem_ProvisionedThroughputInMibps (106.71s)
--- PASS: TestAccAWSEFSFileSystem_tags (149.15s)
--- PASS: TestAccAWSEFSFileSystem_ThroughputMode (97.13s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_availabilityZone (147.25s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_id (70.23s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_name (110.46s)
--- PASS: TestAccDataSourceAwsEfsFileSystem_NonExistent (7.44s)
This has been released in version 3.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
Closes #18016
Output from acceptance testing: