-
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
Adding EIP Data Source support for Tags #3505
Conversation
for the test I created, I have a failure. Don't know what the convention is to create acceptance tests for data sources. But from what I found I only need to make the implicit dependency on the data source so that it creates the resource first and then looks for it. But seems to be not finding it. Any pointers? Output:
FAIL |
As stated in PR#3525, the Terraform bug was not known to me. Adding an explicit depends_on for the data source was necessary for the template to run; but this caused issues when refreshing the state. To solve this, just an implicit dependency on a computed value was necessary to work around it. Test result: ==> Checking that code complies with gofmt requirements... |
Hi, is it possible to merge this PR? We would like to use this functionality |
``` --- PASS: TestAccDataSourceAwsEip_PublicIP_EC2Classic (8.56s) --- PASS: TestAccDataSourceAwsEip_PublicIP_VPC (11.76s) --- PASS: TestAccDataSourceAwsEip_Id (11.79s) --- PASS: TestAccDataSourceAwsEip_Tags (12.45s) --- PASS: TestAccDataSourceAwsEip_Filter (12.58s) ```
This has been released in version 1.44.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! |
Solves #3423