user1584120
user1584120

Reputation: 1261

Running CDK deploy in a CI environment

Going through this tutorial.

When running cdk deploy it asks for permission to deploy. I'm assuming this is because of the IAM resources created earlier in the tutorial. I can't run this in a CI environment as there would be no way to answer that question. It looks like there is no way to run it in a non-interactive way?

I also couldn't find anything in the documentation?

Upvotes: 2

Views: 1841

Answers (1)

Jonny Rimek
Jonny Rimek

Reputation: 1171

If there are changes to existing IAM roles/users etc or new ones are created you have to confirm the deploy by typing "y" you can bypass this with the option --require-approval=never

Upvotes: 14

Related Questions