An open API service indexing awesome lists of open source software.

https://github.com/epomatti/terraform-azurerm-appservice-acr-linux

Terraform AzureRM easy-to-use module to create an App Service (WebApp) that pulls the image from a Container Registry (ACR).
https://github.com/epomatti/terraform-azurerm-appservice-acr-linux

acr app-service azure azurerm container-registry terraform-module terrafrom

Last synced: 7 months ago
JSON representation

Terraform AzureRM easy-to-use module to create an App Service (WebApp) that pulls the image from a Container Registry (ACR).

Awesome Lists containing this project

README

          

# terraform-azurerm-appservice-acr-linux

This Terraform module will help you create an App Service on Azure that uses an image from a Container Registry (ACR) for Linxu containers.

Terraform [AzureRM App Service](https://www.terraform.io/docs/providers/azurerm/r/app_service.html) specification.

## Usage

```terraform
module "app" {
source = "evandropomatti/appservice-acr-linux/azurerm"
version = "0.3.1"

name = "app"
location = "southbrazil"
resource_group_name = "my-resources"
app_service_plan_id = azurerm_app_service_plan.default.id

startup_command = "startup.sh"
acr_image = "contoso.azurecr.io/app:latest"
acr_url = "https://contosoregistry.azurecr.io"
acr_username = "contosoregistry"
acr_password = var.CONTAINER_REGISTRY_PASSWORD

always_on = true

tags = {
environment = "dev"
}
}

```