Try moving the AWS_PROFILE variable to the command that needs it
Setting it generally appears to interfere with what Expeditor itself
needs to do to run the steps.
@@ -11,13 +11,12 @@ expeditor:
timeout_in_minutes: 30
env:
FASTLY_SERVICE_KEY: "T32H9RqMWpCV9qhp3S9xq"
- AWS_PROFILE: "habitat"
AWS_DEFAULT_REGION: "us-west-2"
steps:
- label: "Deploy the website :pen:"
command:
- - .expeditor/scripts/website-deploy.sh production
+ - AWS_PROFILE=habitat .expeditor/scripts/website-deploy.sh production
expeditor:
executor:
docker:
