Skip to content

Instantly share code, notes, and snippets.

@btower-labz
btower-labz / golang-docker-format-module.sh
Last active July 26, 2020 16:10
terraform-public-modules-scripts
echo 'Formatting go module ...\n' && docker run --rm \
-e HOME=${HOME} \
-v "${HOME}:${HOME}/" \
-v /etc/group:/etc/group:ro \
-v /etc/passwd:/etc/passwd:ro \
-u $(id -u ${USER}):$(id -g ${USER}) \
-w $(pwd) \
btowerlabz/docker-cloudbuild-terratest:latest go fmt "infra_test"
@btower-labz
btower-labz / cloud-build-aws-credentials.yaml
Last active July 30, 2020 14:59
terraform-public-modules #cloudbuild #teraform #aws
timeout: 300s
substitutions:
_BERGLAS_VERSION: latest
_AWS_CLI_VERSION: latest
_GCP_CREDENTIALS_SECRET: terraform-public-modules/aws-terratest-credentials
options: