In my case I get temporary credentials using aws-runas and set it using code editor terminal(windows 10).
set AWS_ACCESS_KEY_ID=..........
set AWS_SECRET_ACCESS_KEY=.......
set AWS_SESSION_TOKEN=...........
set AWS_REGION=.......
With **code editor terminal** I got the same issue, but with a different **window command prompt**, I able to run bootstrap and deploy commands without any issue.
In my case I get temporary credentials using aws-runas and set it using code editor terminal(windows 10).
set AWS_ACCESS_KEY_ID=..........
set AWS_SECRET_ACCESS_KEY=.......
set AWS_SESSION_TOKEN=...........
set AWS_REGION=.......
With **code editor terminal** I got the same issue, but with a different **window command prompt**, I able to run bootstrap and deploy commands without any issue.