Go to file
Jim Martens 6c6f14c2a5
chore: Upgrade to terraform 1.7.2
2024-02-03 19:42:00 +01:00
hooks Use 1.6.2 as version again 2023-10-31 22:35:38 +01:00
.gitignore Added files 2023-10-31 12:54:31 +01:00
Dockerfile chore: Upgrade to terraform 1.7.2 2024-02-03 19:42:00 +01:00
LICENSE Added files 2023-10-31 12:54:31 +01:00
README.md Change plugin usage 2023-10-31 22:31:56 +01:00
tool.sh Remove obsolete init command 2023-11-01 17:46:00 +01:00

README.md

Terraform Drone plugin

Apache 2.0 License Docker image version

This Drone plugin uses the Terraform CLI and makes it compatible with Drone.

Usage

- name: Step name
  image: 2martens/terraform-drone-plugin
  settings:
    api_token: <api_token>
    path: <path relative to Git repo>
    args: <args>

Example pipeline

kind: pipeline
name: default
type: docker

platform:
  os: linux
  arch: arm64

clone:
  skip_verify: true

steps:
  - name: run plan
    pull: always
    image: 2martens/terraform-drone-plugin
    settings:
      api_token:
        from_secret: api_token
      path: terraform
      args: plan