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

[Bug]: data.aws_secretsmanager_secret_version no longer pulls secrets #39141

Closed
jfgordon2 opened this issue Sep 4, 2024 · 5 comments
Closed
Labels
bug Addresses a defect in current functionality. service/secretsmanager Issues and PRs that pertain to the secretsmanager service.

Comments

@jfgordon2
Copy link

Terraform Core Version

1.9.4

AWS Provider Version

5.65.0

Affected Resource(s)

data.aws_secretsmanager_secret_version

Expected Behavior

This data resource should successfully read a secret with a provided ARN. This was tested with a cross-account secret, and on the darwin_arm64 platform. This doesn't appear to affect the linux_amd64 version.

Actual Behavior

The output is that it will return as "Still reading..." until it times out after 20 minutes.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

data "aws_secretsmanager_secret_version" "secret" {
secret_id = "arn:aws:secretsmanager:us-west-2:1234567890:secret:secret_path"
}

Steps to Reproduce

On an M1 mac, run terraform plan from one AWS account with the above data block on version 5.65.0. 5.64.0 doesn't appear affected.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@jfgordon2 jfgordon2 added the bug Addresses a defect in current functionality. label Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added service/secretsmanager Issues and PRs that pertain to the secretsmanager service. needs-triage Waiting for first response or review from a maintainer. labels Sep 4, 2024
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Sep 4, 2024
@ewbankkit
Copy link
Contributor

@jfgordon2 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.

Copy link

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.

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/secretsmanager Issues and PRs that pertain to the secretsmanager service.
Projects
None yet
Development

No branches or pull requests

2 participants