'npx ampx sandbox' still doesn't work as described in Quickstart tutorials #2419
Labels
configure
Issues related to local profile configuration
pending-triage
Incoming issues that need categorization
Environment information
Describe the bug
The instructions in Configure for local development fail to connect a client to the sandbox. The instructions say to use a user with Amplify Backend deploy access, and the command
npx ampx sandbox --outputs-format dart --outputs-out-dir lib
to trigger the creation of a stack. However, the client never recognizes the bootstrapped environment.There is a current workaround mentioned in this repo's other "closed" issues that says to use a user with full Admin access and the command
npx aws-cdk@latest bootstrap aws://<my account>/<region>
This does work, however the tutorial should be updated or the root cause of the problem fixed.
Thanks
Reproduction steps
When following the Configure for local development section, we're instructed to create a user with "AmplifyBackendDeployFullAccess" permission. As expected this user cannot bootstrap the environment, so we're directed to use an Admin or Root user to complete the bootstrap process.
After this is done and a new "CDKToolkit" stack has been started, we get to the problem. We run the sandbox command again as instructed:
`PS dev\my_amplify_app>npx ampx sandbox --outputs-format dart --outputs-out-dir lib
The given region has not been bootstrapped. Sign in to console as a Root user or Admin to complete the bootstrap process, then restart the sandbox.`
The stack is not detected.
The text was updated successfully, but these errors were encountered: