Giter VIP home page Giter VIP logo

terraform-azurerm-app-service-container-linux's Introduction

Azure App Service (Linux Container) Terraform module

Terraform module which creates App Service resources on Azure, configured for use with a Linux Docker image.

Table of Contents generated with DocToc

User Stories for this module

  • AAOPS I can deploy a Linux container on an App Service with best practices as defaults
  • AAOPS I can set up a scalable Linux container App Service with deployment slots

Usage

module "app_service" {
  source = "https://github.com/padok-team/terraform-azurerm-app-service-container-linux"

  name = "test-app-service"
  resource_group = {
    name     = "example-rg"
    location = "francecentral"
  }
  # The `image` variable, and all app settings, are NOT tracked by Terraform.
  # Any changes to these will not be reflected in the Terraform state.
  # Note that, in order to use a Docker Hub image, you need to set an app setting
  # DOCKER_REGISTRY_SERVER_URL = https://index.docker.io
  # which is set by default when no app settings are specified.
  image               = "index.docker.io/kennethreitz/httpbin:latest"
  client_cert_enabled = false
}

Examples

Modules

Name Source Version
logger [email protected]:padok-team/terraform-azurerm-logger.git v0.2.0

Inputs

Name Description Type Default Required
name Specifies the name of the App Service. Changing this forces a new resource to be created. string n/a yes
resource_group The Resource group where to deploy AppService.
object({
name = string,
location = string
})
n/a yes
app_service_plan_id App Service Plan ID. The instance should allow App Service to scale (per site scaling enabled). string null no
app_service_plan_name The name of the App Service Plan. string null no
app_service_plan_sku The SKU of the App Service Plan.
object({
tier = string
size = string
capacity = number
})
{
"capacity": null,
"size": "S1",
"tier": "Standard"
}
no
app_settings A key-value pair of App Settings. map(string)
{
"DOCKER_REGISTRY_SERVER_URL": "https://index.docker.io"
}
no
backup Backup object to configure the App Service.
object({
name = string
enabled = bool
storage_account_url = string
schedule = object({
frequency_interval = string
frequency_unit = string
keep_at_least_one_backup = bool
retention_period_in_days = string
start_time = string
})
})
null no
client_cert_enabled Should a client certificate be required for connections to the App Service? bool true no
connection_strings Connection strings to configure for the App Service.
map(object({
type = string
value = string
}))
{} no
create_app_service_plan Decide if the module should create its own App Service plan. Should be false if app_service_plan_id is configured. bool true no
enable_auth_settings Enable Auth Settings bool true no
identity_ids List of identity ids. list(string) [] no
image Docker image to deploy at App Service generation. Will only be defined on the first run, and will be ignored by Terraform on subsequent runs. Your application configuration should be separated from your infrastructure configuration. string "index.docker.io/busybox:latest" no
log_analytics_workspace_id The Log Analytics Workspace ID to use for logging. string null no
logs_enabled Should logs be enabled for the App Service? bool true no
site_config_override The override configuration of site_config parameters. any {} no
slot_count Number of additional App Service Slots to create. number 0 no
slot_prefix Slot name prefix. string null no
subnet_ids List of subnet ids for network swift connections. list(string) [] no
tags A mapping of tags to assign to the resource. map(string) {} no

Outputs

Name Description
this The App Service resource instance.

License

License

terraform-azurerm-app-service-container-linux's People

Contributors

blouni avatar github-actions[bot] avatar piaverous avatar qprichard avatar renovate[bot] avatar samydjemai avatar

Watchers

 avatar  avatar  avatar  avatar

terraform-azurerm-app-service-container-linux's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release-please.yaml
  • google-github-actions/release-please-action v3
npm
package.json
terraform
main.tf
  • github.com/padok-team/terraform-azurerm-logger v0.4.1
versions.tf
  • azurerm ~> 3
  • hashicorp/terraform ~> 1

  • Check this box to trigger a request for Renovate to run again on this repository

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.