-
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]: Wrong ARN for AWS Amplify Webhooks #39407
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
This issue has now become critical as it's actively blocking the creation of an Amplify webhook with the error: The root cause appears to stem from the ARN format discrepancy described earlier. Terraform's generated ARN Additionally, I confirm that I am using version |
+1. It isn't working here as well. |
Probably AWS changed the webhook URL structure yesterday. Now all projects with amplify webhook are failing. |
+1 |
We are experiencing the same issue where all our pipelines have failed any suggested solution? |
Hi, I'm from AWS Amplify. There was a change in the ARN format on the API responses for webhooks. The change has been reverted. You should not experience the |
Terraform Core Version
1.9.0
AWS Provider Version
5.67.0
Affected Resource(s)
aws_amplify_webhook
Expected Behavior
The output of
aws_amplify_webhook.example_webhook.arn
should bearn:aws:amplify:<region>:<account-id>:webhooks/<webhook-id>
.Actual Behavior
The actual output of
aws_amplify_webhook.example_webhook.arn
isarn:aws:amplify:<region>:<account-id>:apps/<app-id>/webhooks/<webhook-id>
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "
> 5.0"> 1.9.0"}
}
required_version = "
}
Steps to Reproduce
terraform apply
terraform state show aws_amplify_webhook.master
Debug Output
No response
Panic Output
No response
Important Factoids
I need to add an amplify:GetWebhook IAM permission for this specific webhook, but I was getting the error:
and I noticed the discrepancy in that Terraform outputs the ARN as
arn:aws:amplify:<region>:<account-id>:apps/<app-id>/webhooks/<webhook-id>
when AWS expectsarn:aws:amplify:<region>:<account-id>:webhooks/<webhook-id>
(without theapps/<app-id>
part).When I fixed this manually in the IAM console, I no longer saw the 403 error.
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: