-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unable to Detach Authorizer from HTTP API Route in AWS API Gateway #1822
Comments
Hey @jasonlim-bandlab, sorry you're running into this issue! Could you please attach a code example that helps us reproduce this? Thanks! |
This snippet above shows how each defined route is provisioned. I believe the |
Due to the failure in detachment, the authorizer cannot be removed because it remains attached. |
@jasonlim-bandlab do any errors occur when trying to remove the authorizer? I assume pulumi is showing that it's removing it, but the physical cloud resources still has it attached? As a workaround you could try using the |
@jasonlim-bandlab the issue is that you're setting the I was able to repro your problem with this program (also edited the issue to the full repro instead):
removing the
That being said, I agree that this is unexpected as do users in other ecosystems, see: aws/aws-cdk#20695. |
Opened issue with AWS: aws-cloudformation/cloudformation-coverage-roadmap#2184 |
@flostadler, oh, thanks! It's working as expected now. I appreciate the tips and the effort in opening the ticket. Since my issue is resolved, should I go ahead and close it, or would it be better to wait for updates from AWS? |
@jasonlim-bandlab let's keep it open. We should at least document this quirk on our end for now |
What happened?
Based on the image above, we attempted to remove both
authorizationType
andauthorizerId
, expecting the route to detach the authorizer. However, upon checking in the console, the authorizer still appears to be attached. I might be missing something or doing it incorrectly. Could you please guide me on the correct steps to properly detach the authorizer from the route?Example
Output of
pulumi about
Version 3.121.0
Go Version go1.22.4
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.56.1
resource aws-native 1.7.0
language nodejs unknown
resource random 4.16.7
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: