Access denied while creating any resource in Pulumi + AWS Playground

I have KodeKloud Pro. When I launch Pulumi + AWS Playground to try out pulumi, I can’t create any resources. I always get Access Denied error. I’ve tried to create resources through the console UI, still same issue.

I’m not sure I understand what you’re saying here. First:

  1. How are you setting up the your Pulami script? I assume that are using an EC2 instance from the playground, but I don’t have enough info to actually know what you’re doing.
  2. It would help to see the script. When, exactly, does the script fail, and with what error does python give you?

Possibilities here is that Pulami does “too much” when it initializes itself, and you hit something that we’re not enabling in the playground. This we should probably fix.

Other possibility is you’re asking the playground to create some specific object that is not allowed, and Pulami will work to do other tasks, but not the task you’re attempting.

Pulami is less popular than Terraform, so we may need to “tune” our playgrounds to support it.

You’re definitely going to have to tell me more info on your set-up. I have pulumi partially set up on an AWS playground, but the docs are more or less defeating me.

Let’s for a moment remove pulumi out of the scene. When I launch the AWS+Pulumi playground and visit AWS console with browser to create EC2 instance/S3 bucket, I can’t.

Hi @khondakarnasib,

Please try to create resources in the supported regions.

  • us-east-1
  • us-east-2
  • eu-central-1
  • us-west-2
  • eu-west-2
  • ap-southeast-1

I just tried to create an s3 bucket in your session and successfully created it.

It’s integrated with the AWS playground environment, so it does support restrictions as described in the aws playground.

AWS SandBox Playground | KodeKloud

Regards,

1 Like