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

Allow create timeout for rule creations to be configured #334

Open
WWZZ opened this issue Mar 20, 2025 · 0 comments
Open

Allow create timeout for rule creations to be configured #334

WWZZ opened this issue Mar 20, 2025 · 0 comments

Comments

@WWZZ
Copy link

WWZZ commented Mar 20, 2025

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

Currently rule creation has a 5m timeout, https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule#timeouts

I'm noticing that rule creation is slow for some reason, going past this 5m timeout in our west region. This is causing problems for us as the plan after will try to create it again even though AWS already has the rule available after our first apply times out.

Describe the solution you'd like.

I can create the PR too if you'd like, there is currently a create_timeout variable, I'm leaning towards reusing that create_timeout variable for consistency and passing it into the rule creation timeouts

Describe alternatives you've considered.

Plan / apply again after aws created the rules after the timeout, this actually lead to failures where plan tries to recreate the same rules that is out already and failing as they are in console.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant