Skip to content

Commit

Permalink
Update localstack to v2.0.2
Browse files Browse the repository at this point in the history
One point worth mentioning is that the location of the localstack
initialization hook has changed, so I adjusted the settings.
https://docs.localstack.cloud/references/init-hooks/
  • Loading branch information
minamijoyo committed May 24, 2023
1 parent 595b866 commit acfbfc3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
docker-compose up -d localstack
docker-compose run --rm dockerize -wait tcp://localstack:4566 -timeout 60s
docker-compose exec -T localstack /docker-entrypoint-initaws.d/wait_s3_bucket_exists.sh
docker-compose exec -T localstack /etc/localstack/init/wait_s3_bucket_exists.sh
- name: terraform --version
run: docker-compose run --rm tfmigrate terraform --version
- name: testacc
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ services:
- fake-gcs-server

localstack:
image: localstack/localstack:1.0.3
image: localstack/localstack:2.0.2
ports:
- "4566:4566"
environment:
DEBUG: "true"
SERVICES: "s3,ec2,iam"
DEFAULT_REGION: "ap-northeast-1"
S3_BUCKET: "tfstate-test"
volumes:
- "./scripts/localstack:/docker-entrypoint-initaws.d" # initialize scripts on startup
- "./scripts/localstack/init:/etc/localstack/init" # initialize scripts on startup

fake-gcs-server:
image: fsouza/fake-gcs-server:1.38
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit acfbfc3

Please sign in to comment.