From 805d2ba62fe476d760946493a6edcb0719ca44af Mon Sep 17 00:00:00 2001 From: Seamus Lowry Date: Fri, 19 Mar 2021 18:23:24 -0400 Subject: [PATCH] add env variable https://github.com/aws/aws-cli/issues/5623#issuecomment-801240811 --- .github/workflows/s3-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/s3-dev.yml b/.github/workflows/s3-dev.yml index 7520277..afa5600 100644 --- a/.github/workflows/s3-dev.yml +++ b/.github/workflows/s3-dev.yml @@ -19,7 +19,7 @@ jobs: run: REACT_APP_ENV=development yarn build - name: deploy - run: aws s3 sync ./build/ s3://brannigans-chess-dev/ + run: AWS_EC2_METADATA_DISABLED=true aws s3 sync ./build/ s3://brannigans-chess-dev/ - name: invalidate run: aws cloudfront create-invalidation --distribution-id EK4KIXP60KA8L --paths "/*"