Skip to content

Commit

Permalink
Set up AWS config
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Jan 16, 2024
1 parent f5d2622 commit cd484df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ jobs:
sleep 30
echo "Startup complete"
- name: Set up AWS config and AWS credentials
run: |
mkdir -p "$HOME/.aws"
echo -e "[default]\naws_access_key_id=test\naws_secret_access_key=test" > "$HOME/.aws/credentials"
echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config"
- name: Deploy to LocalStack
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
AWS_DEFAULT_REGION: "us-east-1"
run: make deploy

0 comments on commit cd484df

Please sign in to comment.