terraform mixin

Execute Terraform files using the terraform CLI

Source: https://github.com/getporter/terraform-mixin

Install or Upgrade

porter mixin install terraform

Examples

install:
  - terraform:
      description: "Install Azure Key Vault"
      input: false
      backendConfig:
        key: "{{ bundle.name }}.tfstate"
        storage_account_name: "{{ bundle.credentials.backend_storage_account }}"
        container_name: "{{ bundle.credentials.backend_storage_container }}"
        access_key: "{{ bundle.credentials.backend_storage_access_key }}"
      outputs:
- name: vault_uri