-
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
[Bug]: Dynamic Provider in Agents Broken #39115
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @hazam 👋 Thank you for taking the time to raise this! This is a bit of an interesting scenario, because the provider doesn't do anything special in order to work with Dynamic Provider credentials. That feature is something built into HCP Terraform that ultimately just cleverly utilizes how the provider works in general. With that in mind, I would recommend that you file a support ticket with the HCP Terraform team so that they can try to track down the root cause of this. Looking over the provider's changelog, the only thing that sticks out to me as a potential cause is that the provider was upgraded to use Go 1.23. We don't anticipate that the Go upgrade would cause any downstream issues, but stranger things have happened. I'll keep this issue open for now as well, in case my initial thought are incorrect. |
Done, support request #160016 on HCP side. Will keep you posted |
@hazam 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.4.2
AWS Provider Version
5.65.0
Affected Resource(s)
(probably) Dynamic Provider Credentials when using hosted agents (1.15.4 in our case).
Reverting to 5.63.1 solves the issue.
Expected Behavior
Provider is autenticated correctly even when executed in hosted agents
Actual Behavior
Provider is not autenticated when executed in hosted agents and fails.
Relevant Error/Panic Output Snippet
Reverting to 5.63.1 solves the issue.
Terraform Configuration Files
Steps to Reproduce
Start a plan with dynamic provider configured inside a hosted agent (1.15.4)
Debug Output
The text was updated successfully, but these errors were encountered: