Coder Social home page Coder Social logo

terraform-az-aca's Introduction

CI GitHub Terraform Azurerm

Terraform Deployment of Azure Container Apps

This repository is an example utilizing the new AzAPI terraform provider to deploy Azure Container Apps with a simple 'Hello World' app.

What is the AzAPI terraform provider?

The AzAPI provider is a very thin layer on top of the Azure ARM REST APIs. Use this new provider to authenticate to - and manage - Azure resources and functionality using the Azure Resource Manager APIs directly. This provider compliments the Azure Resource Manager provider (AzureRM provider) by enabling the management of Azure resources that are not yet or might never be supported in the AzureRM provider, such as private and public preview services and features.

Prerequisite

If using your workstation, you will need the following installed:

  • Azure Account
  • Azure CLI
  • Terraform CLI

Alternatively you can use the Azure Cloud Shell that have all the prerequisite software installed.

Usage

az ad sp create-for-rbac --name TerraformSP --role="Contributor" --scopes="/subscriptions/<SUBSCRIPTION_ID>"
$ export ARM_CLIENT_ID="<APPID_VALUE>"
$ export ARM_CLIENT_SECRET="<PASSWORD_VALUE>"
$ export ARM_SUBSCRIPTION_ID="<SUBSCRIPTION_ID>"
$ export ARM_TENANT_ID="<TENANT_VALUE>"
  • Clone repository from GitHub
git clone
  1. Initialize the project, which downloads all the required providers to deploy our solution.
terraform init
  1. Generate the terrform execution plan
terraform plan
  1. Apply the terraform execution plan
terraform apply main

Reference

terraform-az-aca's People

Contributors

erleonard avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.