You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the 'Deploy the pipeline' stage the process fails because of wanting to ask for approval but not having a terminal.
I was able to get around it by following this step to disable approval, but I'm not sure if that keeps to best practice or not.
$ npm run deploy
> sdlc-organization@0.3.14 deploy C:\...\aws-bootstrap-kit-examples\source\1-SDLC-organization
> cdk --profile main-admin deploy
This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening).
Please confirm you intend to make the following modifications:
... all the changes listed ...
"--require-approval" is enabled and stack includes security-sensitive updates, but terminal (TTY) is not attached so we are unable to get a confirmation from the user
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sdlc-organization@0.3.14 deploy: `cdk --profile main-admin deploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sdlc-organization@0.3.14 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Hello,
At the 'Deploy the pipeline' stage the process fails because of wanting to ask for approval but not having a terminal.
I was able to get around it by following this step to disable approval, but I'm not sure if that keeps to best practice or not.