I'm working with AWS CDK and every time I go to create a new resource (CodePipeline, VPC, etc) I end up in the same loop of...
- try to deploy
- "you are not authorized to foo:CreateBar"
- update IAM permissions
- try to deploy
- "you are not authorized to baz:CreateZzz"
- update IAM permissions
...over and over again. Then the same when I cdk destroy, but for "foo:DeleteFoo"
Is there a more efficient way to determine what permissions a policy needs to perform a certain CDK action? Maybe somewhere in the documentation I can reference?
Thanks