-
Notifications
You must be signed in to change notification settings - Fork 102
Description
Environment information
System:
OS: macOS 14.5
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 45.84 MB / 16.00 GB
Shell: /bin/zsh
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.6.6 - ~/.nvm/versions/node/v18.16.0/bin/npm
pnpm: undefined - undefined
NPM Packages:
@aws-amplify/backend: 1.0.4
@aws-amplify/backend-cli: 1.1.1
aws-amplify: 6.4.0
aws-cdk: 2.149.0
aws-cdk-lib: 2.149.0
typescript: 5.5.3
AWS environment variables:
AWS_STS_REGIONAL_ENDPOINTS = regional
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables
Description
After following the first four steps of the tutorial here without issue:
https://docs.amplify.aws/react/start/account-setup/
Step 5 (bootstrapping) fails with the following error:
SSMCredentialsError: AccessDeniedException: User: arn:aws:iam::547778446815:user/user-73e809b9-6617-49fa-8745-e922f5529d84 is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-east-2:547778446815:parameter/cdk-bootstrap/hnb659fds/version because no identity-based policy allows the ssm:GetParameter action
Resolution: Make sure your AWS credentials are set up correctly and have permissions to call SSM:GetParameter
Cause: User: arn:aws:iam::547778446815:user/user-73e809b9-6617-49fa-8745-e922f5529d84 is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-east-2:547778446815:parameter/cdk-bootstrap/hnb659fds/version because no identity-based policy allows the ssm:GetParameter action
Result is consistent whether using the "automatic" or "manual" steps for user creation.