Skip to content

Commit

Permalink
Merge pull request #113 from minamijoyo/set-apply-parallelism-1
Browse files Browse the repository at this point in the history
Set TF_CLI_ARGS_apply to --parallelism=1 in sandbox
  • Loading branch information
minamijoyo authored Dec 8, 2022
2 parents 58968af + d1ee3fb commit dc4f24c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ services:
environment:
CGO_ENABLED: 0 # disable cgo for go test
LOCALSTACK_ENDPOINT: "http://localstack:4566"
STORAGE_EMULATOR_HOST: "fake-gcs-server:4443"
# Use the same filesystem to avoid a checksum mismatch error
# or a file busy error caused by asynchronous IO.
TF_PLUGIN_CACHE_DIR: "/tmp/plugin-cache"
STORAGE_EMULATOR_HOST: "fake-gcs-server:4443"
# From observation, although we don’t have complete confidence in the root cause,
# it appears that localstack sometimes misses API requests when run in parallel.
TF_CLI_ARGS_apply: "--parallelism=1"
depends_on:
- localstack
- fake-gcs-server
Expand Down

0 comments on commit dc4f24c

Please sign in to comment.