AWS CDK bootstrap failed

Hello There,

When I am trying to bootstrap AWS CDK using command “cdk bootstrap aws://939404868561/us-east-1”, I am getting below error .
cdk bootstrap aws://939404868561/us-east-1
3:44:31 PM | CREATE_FAILED | AWS::SSM::Parameter | CdkBootstrapVersion
User: arn:aws:iam::939404868561:user/odl_user_1017541 is not authorized to perform: ssm:PutParameter on resource: arn:aws:ssm:us
-east-1:939404868561:parameter/cdk-bootstrap/hnb659fds/version with an explicit deny in a service control policy (Service: Amazo
nSSM; Status Code: 400; Error Code: AccessDeniedException; Request ID: 1711e401-cda3-4df3-b961-c21f66b41911; Proxy: null)

Please allow ssm:PutParameter permission.

any help would be appreciated.

Hi @saran07

Thank for the report, please let us check with the lab team and come back to you soon

Regard

1 Like

Hi @mmkmou

Any update on this please ?

BR

Hi @saran07,

AWS CDK needs additional features and permission not available for now on the playground. You can check here the list of available service.

Regard

Hi @mmkmou,

Thanks for letting me know. Hope it will be available soon on playground. :crossed_fingers:

It would be great if using CDK were to be supported soon.
Without it you cant test anything along the lines of infrastructure as code (including terraform, pulumi etc) which rely directly or indirectly on cdk.
And being able to do this in a sandboxed environment like klodkloud would be a -very- importannt use case - since it would relieve one of the worries of creating expensive infrastuucture by mistake and forgetting to tear it down (esp while learning and debugging scripts)