-
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
[Bug]: data block to fetch aws_iam_roles
hangs forever
#39110
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
We encountered the same thing. Using |
We are seeing similar behaviour @ 5.65.0 with certificate manager (ACM), although not a data source, it is refreshing the state of an existing resource, so assume it uses a similar query path. Terraform plan sits in a long hang before eventually failing with -
Reverted the configuration back to 5.64.0 and the plan works correctly with no other changes. |
@abhineetsbhamra @sbkg0002 @pauldtill Thanks for raising this issue 👏. |
For the "possibly related" issue I mention (with aws_acm_certificate) - we are using an IAM role - assume_role_with_web_identity |
I also use assume role. The problem is that the new provider uses http2 traffic, which needs different rules in the AWS Firewall. (thanks to @omerakcasbp for all the debugging work! 💪 ) |
we are using role assumption. |
@sbkg0002 could you expand on what needed to be changed here ? We are using AWS Network Firewall - but I'm not seeing anything obvious blocked from our logging |
For testing we enabled TCP 443 traffic to egress for agents. With that traffic coming from agents started to flow for iam. |
@omerakcasbp - we found an AWS network firewall log entry as below (removed a few internal data items like IP's), no TLS SNI as you mentioned. Since we are using domain allow lists, there doesn't seem to be much we can use here to allow this traffic, how did you get around this ?
The AWS support response (network firewall) was as below -
I assume they are off track here, since there isn't anything changed on TLS versions here is there? |
We have opened #39311 to capture the longer-term work. |
@abhineetsbhamra @sbkg0002 @pauldtill Assuming that the Go 1.22.6 downgrade with Terraform AWS Provider v5.67.0 fixed this problem, I'm going to close this issue. Discussion will continue in #39311. |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
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. |
Terraform Core Version
1.8
AWS Provider Version
5.65.0
Affected Resource(s)
aws_iam_roles
Expected Behavior
data source fetch for resource
aws_iam_roles
works in seconds if using5.64.0
as soon as I use the latest5.65.0
data blocks to fetchaws_iam_roles
just hangs for an eternity and I have to kill the workflow.Actual Behavior
data source fetch for resource
aws_iam_roles
worksRelevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
use latest provider and try to get
aws_iam_roles
via a data blockDebug Output
debug request body
Panic Output
No panic output
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: