Skip to content
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 retries to data source(s) aws_ec2_transit_gateway_vpc_attachments #10769

Open
tbugfinder opened this issue Nov 6, 2019 · 0 comments
Open
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.

Comments

@tbugfinder
Copy link
Contributor

tbugfinder commented Nov 6, 2019

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

While creating a TGW-attachment and querying that attachment within the same terraform execution, the data source might return no element as the API isn't consistent yet. Therefore a data source should retry before returning zero elements.

New or Affected Resource(s)

  • data source/aws_ec2_transit_gateway_vpc_attachment

Potential Terraform Configuration

data "aws_ec2_transit_gateway_vpc_attachment" "vpca" {
  filter {
    name   = "vpc-id"
    values = ["${module.vpc.id}"]
  }
}

References

@tbugfinder tbugfinder added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 6, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 6, 2019
@ghost ghost added the service/ec2 Issues and PRs that pertain to the ec2 service. label Nov 6, 2019
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

No branches or pull requests

2 participants