Files
terraform-drone-plugin/README.md
2023-10-31 13:02:03 +01:00

972 B

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:
    args: <args>

Example pipeline

kind: pipeline
name: default
type: docker

platform:
  os: linux
  arch: arm64

clone:
  skip_verify: true

steps:
  - name: login to Terraform cloud
    pull: always
    image: 2martens/terraform-drone-plugin:1.26.2
    settings:
      args: login
  - name: run plan
    pull: always
    image: 2martens/terraform-drone-plugin:1.26.2
    settings:
      args: plan