Any idea: ```CDK_NEW_BOOTSTRAP set, using new-st...
# help
ö
Any idea:
Copy code
CDK_NEW_BOOTSTRAP set, using new-style bootstrapping
 :hourglass_flowing_sand:  Bootstrapping environment <aws://209163669254/eu-central-1>...
Trusted accounts for deployment: (none)
Trusted accounts for lookup: (none)
Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
CDKToolkit: creating CloudFormation changeset...
8:16:36 PM | CREATE_FAILED        | AWS::S3::Bucket       | StagingBucket
You have attempted to create more buckets than allowed (Service: Amazon S3; Status Code: 40
0; Error Code: TooManyBuckets; Request ID: X1M1FNKV93F5KDZ6; S3 Extended Request ID: 7K4alU
cRflPiDu18Ucj/YDcM1kjiYx5kdhjmdE4s/CTkQXOTNyU2vfzNCsJyDVM0iaB8BNsJh6w=; Proxy: null)

8:16:37 PM | CREATE_FAILED        | AWS::SSM::Parameter   | CdkBootstrapVersion
User: arn:aws:iam::209163669254:user/omer.t@mindbehind.com is not authorized to perform: ss
m:PutParameter on resource: arn:aws:ssm:eu-central-1:209163669254:parameter/cdk-bootstrap/h
nb659fds/version (Service: AmazonSSM; Status Code: 400; Error Code: AccessDeniedException;
Request ID: 29feddac-a094-4470-bedb-ce7c4cb7fa08; Proxy: null)
t
Think you need to put in a request with AWS to increase your resource limits on your buckets
40 buckets - that's a lot!
ö
That’s what CDK does I guess
It was the first time running
npx sst start --stage dev
for some other AWS Account. And I guess it first creates some CDK stack
But why did you say 40 buckets?
t
I misread the error, thought it said your limit was 40
but it was Status Code: 400
f
lol the AWS errors are always tricky to parse
I think u need to grant the
ssm:PutParameter
permission
Copy code
arn:aws:iam::209163669254:user/omer.t@mindbehind.com is not authorized to perform: ssm:PutParameter
ö
Yes I believe so
But what about the bucket thing
f
For the bucket limit, you’d either have to delete some old buckets or ask AWS support to lift the limit. Default is 100 i think?