-
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
aws_iot_topic_rule modification fails with UnauthorizedException #12520
Comments
I encountered a similar issue on v2.47 I was having issues updating an error action - Upon running a fresh |
Hey @jamescrowley 👋 Thank you for taking the time to file this issue. Given that there's been a number of Terraform and AWS provider releases since you initially filed it, can you confirm if you're still experiencing this behavior? |
I can confirm that this bug is still occurring 👍 |
Yep, still get this on occasions; only to fix is to remove topic rule state or topic rule.
|
Hey y'all 👋 Looking at the error, the
Can you verify that the credentials being used to authenticate with the AWS Provider has the necessary permissions to access |
The permission is definitely there. As @JoshM1994 already mentioned does it work eventually, but not always.
|
This error is caused by the fact that |
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. |
Community Note
Terraform Version
Terraform v0.12.24
Affected Resource(s)
Terraform Configuration Files
Debug Output
2020-03-25T05:55:28.650Z [DEBUG] plugin.terraform-provider-aws_v2.54.0_x4: 2020/03/25 05:55:28 [DEBUG] [aws-sdk-go] DEBUG: Validate Response iot/GetTopicRule failed, attempt 0/25, error UnauthorizedException: Access to topic rule 'sandbox_v2_forward_state_data' was denied
Available in terraform cloud: https://app.terraform.io/app/Relectrify/workspaces/Web-Infrastructure-sandbox_v2/runs/run-KTwRTs996B3LxVif
Expected Behavior
Actual Behavior
Steps to Reproduce
This was working fine, but our most recent change to the terraform config appears to have triggered this state, and it consistently fails running
terraform plan
Running in terraform cloud: https://app.terraform.io/app/Relectrify/workspaces/Web-Infrastructure-sandbox_v2/runs/run-KTwRTs996B3LxVif
Important Factoids
References
The text was updated successfully, but these errors were encountered: