#✅ - This AWS account and region has not been bootstrapped.

5 messages · Page 1 of 1 (latest)

halcyon sentinel
#
  1. npm create vite@latest ✅

  2. cd my-project ✅

  3. npm create amplify@latest ✅

  4. npm i ✅

  5. npm run dev ✅

  6. npx ampx sandbox 🚫
    ERROR: This AWS account and region has not been bootstrapped.
    Caused By: Is account XXX bootstrapped
    Resolution: Run cdk bootstrap aws://{YOUR_ACCOUNT_ID}/{YOUR_REGION} locally to resolve this.

  7. cdk bootstrap aws://XXX/us-east-2 ✅
    ⏳ Bootstrapping environment aws://XXX/us-east-2...
    Trusted accounts for deployment: (none)
    Trusted accounts for lookup: (none)
    Using default execution policy of 'arnawsiam:awspolicy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
    ✅ Environment aws://XXX/us-east-2 bootstrapped (no changes).

  8. npx ampx sandbox 🚫
    Same error as Step 7

How can I fix this? I can't deploy nor run sandbox

tight nova
#

Hey, do ensure you are passing in --profile if the profile name is different from the default profile name

leaden salmonBOT
#

✅ - This AWS account and region has not been bootstrapped.

leaden salmonBOT
spark tapir
#

What worked for me was to log in as root user in your aws account, then open cloudshell and run:

$ cdk bootstrap aws://<aws_account_id>/<region>