-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
New Resource: aws_ec2_local_gateway_route_table_vpc_association #13765
New Resource: aws_ec2_local_gateway_route_table_vpc_association #13765
Conversation
Reference: #13501 Output from acceptance testing: ``` --- PASS: TestAccAwsEc2LocalGatewayRouteTableVpcAssociation_basic (35.14s) --- PASS: TestAccAwsEc2LocalGatewayRouteTableVpcAssociation_disappears (37.27s) --- PASS: TestAccAwsEc2LocalGatewayRouteTableVpcAssociation_Tags (74.40s) ```
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.
Just a comment otherwise LGTM 👍
Skipping acceptance test output given the env variable
conn := meta.(*AWSClient).ec2conn | ||
ignoreTagsConfig := meta.(*AWSClient).IgnoreTagsConfig | ||
|
||
association, err := getEc2LocalGatewayRouteTableVpcAssociation(conn, d.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.
just an aside: could we re-use the LocalGatewayRouteTableVpcAssociationState
method in the waiter package or would that be a bit unreadable (also in the Exists/Destroy methods of the test file)?
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.
Its a decent idea, but a little confusing usage-wise since its conflating two use cases as sometimes the RefreshStateFunc will have special error handling logic that may not be desirable for other uses. I think @gdavison and I are converging on having some form an internal service package that contains consistently named Get{THING}
functions that the Read
, testAccCheck{THING}Exists
, testAccCheck{THING}Destroy
, and the waiter package functions will all commonly use. 👍
This has been released in version 2.67.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 #13501
Release note for CHANGELOG:
Output from acceptance testing: