You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ryparker@otaviomacedo how could we help expedite review of #18444 that is associated with this issue? This bug is blocking our team's multi-region deployments due to the authorizer being in a single region.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
What is the problem?
The existing ARN reference mechanism used by the
TokenAuthorizer
only allows pointing to lambdas on the sameaccount
.Both the partition and the region are being incorrectly inferred from the stack where the reference itself was defined instead from what it refers to.
More concretely:
cdk.Stack.of(fn).region
refers toREGION-A
, not the desired/expectedREGION-B
.Reproduction Steps
Given the following Stack
Stack
What did you expect to happen?
The
authorizerUri
should be setus-east-1
After manually editing the Authorizer on the console:
What actually happened?
The
authorizerUri
was set to the incorrect region (e.g.us-east-2
)CDK CLI Version
1.137.0
Framework Version
No response
Node.js Version
v12.22.9
OS
mass Big Sur 11.6.1
Language
Typescript
Language Version
TypeScript (4.5.4)
Other information
Co-authored-by: Sam Hewitt sam@stedi.com
Co-authored-by: Cameron Sumpter cameron@stedi.com
The text was updated successfully, but these errors were encountered: