Giter Club home page Giter Club logo

terraform-destroy-for-azure-action's Introduction

Terraform Destroy for Azure Action

This Action allows you to destroy Terraform infrastructure in Azure created using the terraform-apply-for-azure github action. It expects an Azure blob storage (to be specified in your manifests like the below) to store the shared state.

terraform {
  backend "azurerm" {
    storage_account_name = "storage_account_name"
    container_name       = "storage_container_name"
  }
}

Parameters

Parameter Type Default Description
arm_client_id string Azure Service Principal client_id
arm_client_secret string Azure Service Principal client_secret
arm_subscription_id string Azure subscription
arm_tenant_id string Azure Tenant id
arm_access_key string Azure Storage access key
variables string "" Comma-separated string of Terraform variables
path string . Path to Terraform directory, defaults to the working directory

Usage

jobs:
  provisioning:
    runs-on: ubuntu-latest
    steps:
    - uses: ams0/terraform-destroy-for-azure-action@v1
      with:
        arm_client_id: ${{ secrets.ARM_CLIENT_ID }}
        arm_client_secret: ${{ secrets.ARM_CLIENT_SECRET }}
        arm_subscription_id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
        arm_tenant_id: ${{ secrets.ARM_TENANT_ID }}
        variables: var=${{ rg_name=aks }}
        path: terraform/dev

License

The MIT License (MIT)

terraform-destroy-for-azure-action's People

Watchers

James Cloos avatar Alessandro Vozza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.