Skip to content

Commit

Permalink
Create init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanbekker authored Dec 3, 2021
1 parent 9488fba commit c29d1e6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drone-ci/localstack-service-terraform/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
set -x
terraform init \
-backend-config access_key=$AWS_ACCESS_KEY_ID \
-backend-config secret_key=$AWS_SECRET_ACCESS_KEY \
-backend-config region=$AWS_DEFAULT_REGION \
-backend-config "bucket=terraform-remote-state" \
-backend-config "key=$CI_REPO_NAME/$CI_COMMIT_BRANCH" \
-backend-config "endpoint=https://minio.domain.com" \
-backend-config "force_path_style=true" \
-backend-config "skip_credentials_validation=true" \
-backend-config "skip_metadata_api_check=true" \
-backend-config "skip_region_validation=true"

0 comments on commit c29d1e6

Please sign in to comment.