2martens / terraform-drone-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Shell 63.8%Language:Dockerfile 36.2%