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

Fails during stack creation #14

Open
peegee123 opened this issue Apr 22, 2024 · 3 comments
Open

Fails during stack creation #14

peegee123 opened this issue Apr 22, 2024 · 3 comments

Comments

@peegee123
Copy link

I've managed to create the Central stack but when I try to create a Spoke I get this failure:

aws-organizations-tag-inventory-spoke-stack: creating CloudFormation changeset...
10:59:42 | CREATE_FAILED | Custom::ResourceExplorerIndex | spokeMyIndexresour...omresource40170C84
Received response status [FAILED] from custom resource. Message returned: Region is missing

Logs: /aws/lambda/aws-organizations-tag-inv-comamazonawscdkcustomres-fQHE9mOINjVY

at resolveRegionConfig (/opt/nodejs/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js:9:15)
at new ResourceExplorer2Client (/opt/nodejs/node_modules/@aws-sdk/client-resource-explorer-2/dist-cjs/ResourceExplorer2Client.js:22:69)
at turnOnIndexForRegion (/var/task/index.js:2626:54)
at Runtime.onEvent [as handler] (/var/task/index.js:2593:13)
at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29) (RequestId: f1f649cb-284f-41df-ae21-02d6d76e0030)

This is when using node v18.18.2 and npm 9.5.1
Any ideas ?

@gdunkle
Copy link
Contributor

gdunkle commented Apr 22, 2024

@peegee123 What region are you attempting to deploy the spoke stack to?

@peegee123
Copy link
Author

@peegee123 What region are you attempting to deploy the spoke stack to?
eu-west-1
I'm using that region for everything at present.

@vibhamsharma
Copy link

Did we got any solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants