wercker step for terraform
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
run.sh
step.yml
wercker.yml

README.md

step-terraform

Terraform installer and launcher for wercker.

wercker status

Options

  • command (optional) Terraform command (can include some arguments) default: apply
  • var_file (optional) A .tfvars file
  • remote_config (optional) remote config arguments

command and remote_config supported multi lines.

Example

build:
    steps:
        - ww24/terraform@0.11.3:
            command: plan
            var_file: variables.tfvars
            remote_config: |
                -backend=gcs \
                -backend-config='bucket=gcs-bucket' \
                -backend-config='path=terraform.tfstate' \
                -backend-config='project=gcp-project' \
                -backend-config='credentials={ \
                  "private_key": "$GCP_PRIVATE_KEY", \
                  "client_email": "$GCP_CLIENT_EMAIL" \
                }'

License

The MIT License (MIT)

Changelog

Check versions: https://app.wercker.com/api/v3/steps/ww24/terraform

0.11.3

  • Update terraform 0.11.3

0.10.8

  • Update terraform 0.10.8

0.9.11

  • Update terraform 0.9.11

0.8.8

  • Update terraform 0.8.8 (sync terraform version)