Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

libre-devops/azure-function-app-deployment-gh-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

Libre DevOps - Azure Terraform GitHub Action

Hello 👋

# action.yml
name: 'Libre DevOps - Deploy Azure Function App -  GitHub Action'
description: 'The heavily opinionated Libre DevOps Action to deploy an Azure function app.'
author: "Craig Thacker <craig@craigthacker.dev>"
branding:
  icon: 'terminal'
  color: 'red'

inputs:
  code-path:
    description: 'The absolute path in Linux format to your code code'
    required: true

  code-client-id:
    description: 'The client id needed for az login'
    required: true

  code-client-secret:
    description: 'The client secret needed for az login'
    required: true

  code-tenant-id:
    description: 'The tenant id needed for az login'
    required: true

  code-app-name:
    description: 'The core function command you want to run'
    required: true

runs:
  using: 'docker'
  image: 'Dockerfile'
  args:
    - ${{ inputs.code-path }}
    - ${{ inputs.code-client-id }}
    - ${{ inputs.code-client-secret }}
    - ${{ inputs.code-tenant-id }}
    - ${{ inputs.code-app-name }}

About

A very opinionated Docker-Based GitHub Action used to deploy to Azure using Terraform. This Action deploys a container with several tools pre-installed - terraform, terraform-compliance, checkov and tfsec - and expects all of these to run successfully before it'll run terraform apply. This action only supports the use of terraform workspace, ter…

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • HCL 51.4%
  • Dockerfile 26.1%
  • Shell 22.5%