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

Failed to use AWS jakarta region (ap-southeast-3) #4248

Open
ridhozhr10 opened this issue Sep 4, 2024 · 0 comments
Open

Failed to use AWS jakarta region (ap-southeast-3) #4248

ridhozhr10 opened this issue Sep 4, 2024 · 0 comments
Labels

Comments

@ridhozhr10
Copy link

Version

No response

Operating System

No response

Browser

No response

What are the steps to reproduce this bug?

using

AWS_REGION=ap-southeast-3

in .env file will cause the error when trying to deploy apps/api/graphql

What is the expected behavior?

apps deployed with no error

What do you see instead?

✖ Deployment failed. For more details, please check the error logs below.

Updating (dev):

 +  pulumi:pulumi:Stack api-dev creating (0s)
@ updating.......
 +  pulumi:pulumi:Stack api-dev creating (3s) error: Running program '/home/user/workspaces/webiny/.webiny/workspaces/apps/api/pulumi/' failed with an unhandled exception:
 +  pulumi:pulumi:Stack api-dev **creating failed (3s)** 1 error
Diagnostics:
  pulumi:pulumi:Stack (api-dev):
    error: Running program '/home/user/workspaces/webiny/.webiny/workspaces/apps/api/pulumi/' failed with an unhandled exception:
    Error: Layer sharp is not available in ap-southeast-3 region.
        at module.exports.getLayerArn (/home/user/workspaces/webiny/node_modules/@webiny/aws-layers/index.js:20:15)
        at PulumiAppModuleDefinition.run (/home/user/workspaces/webiny/node_modules/@webiny/pulumi-aws/apps/api/ApiFileManager.ts:63:37)
        at Object.addModule (/home/user/workspaces/webiny/node_modules/@webiny/pulumi/createPulumiApp.ts:192:42)
        at Object.program (/home/user/workspaces/webiny/node_modules/@webiny/pulumi-aws/apps/api/createApiPulumiApp.ts:202:37)
        at program (/home/user/workspaces/webiny/node_modules/@webiny/pulumi/createPulumiApp.ts:93:48)
        at decorator (/home/user/workspaces/webiny/node_modules/@webiny/pulumi-aws/utils/lambdaEnvVariables.ts:69:34)
        at program (/home/user/workspaces/webiny/node_modules/@webiny/pulumi/createPulumiApp.ts:91:35)
        at decorator (/home/user/workspaces/webiny/node_modules/@webiny/pulumi-aws/utils/withServiceManifest.ts:45:30)
        at programOutput (/home/user/workspaces/webiny/node_modules/@webiny/pulumi/createPulumiApp.ts:91:35)
        at Object.run (/home/user/workspaces/webiny/node_modules/@webiny/pulumi/createPulumiApp.ts:96:48)

Resources:
    + 1 created

Duration: 5s

Additional information

No response

Possible solution

No response

@ridhozhr10 ridhozhr10 added the bug label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant