-
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
Add Datasource for COIP Pool(s) (Outpost) #12852
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.
Hi @johnbarney 👋 Thank you for submitting this as well! Overall it was looking pretty good. Please note that we're trying to sneak these in while we have an Outpost available for testing for a limited time so pulling this in with some slight modifications in a followup commit (rather than our normal back-and-forth during review):
- Renaming everything to include the service name, EC2.
aws_ec2_coip_pool
,AwsEc2CoipPool
, etc. We are trying to get very rigid with naming everything in the Terraform AWS Provider withaws_SERVICE_THING
. This may be strictly enforced with some code and tooling work we have planned. EC2 just happens to include lots of anti-examples until we get around to aliasing/fixing the data sources and resources from the oldest versions of Terraform. 😅 - Consistently using the
AWS_OUTPOST_ARN
environment variable as the gatekeeper for any testing requiring an Outpost. We run our testing in a lot of different environments, so keeping it to one environment variable to skip or run this testing will make it easiest hopefully for everyone. 😄
Thanks again, this is great! Folks will really appreciate this going forward.
Output from acceptance testing:
--- PASS: TestAccDataSourceAwsEc2CoipPool_Id (17.77s)
--- PASS: TestAccDataSourceAwsEc2CoipPool_Filter (17.85s)
--- PASS: TestAccDataSourceAwsEc2CoipPools_basic (15.76s)
--- PASS: TestAccDataSourceAwsEc2CoipPools_Filter (17.70s)
This has been released in version 2.61.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 #12302
Release note for CHANGELOG:
Output from acceptance testing: