Azure Managed Applications Definition

This page shows how to write Terraform for Managed Applications Definition and write them securely.

azurerm_managed_application_definition (Terraform)

The Definition in Managed Applications can be configured in Terraform with the resource name azurerm_managed_application_definition. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L38
resource "azurerm_managed_application_definition" "virtualMachine" {
  name                = "apachelinux"
  location            = azurerm_resource_group.managed-app.location
  resource_group_name = azurerm_resource_group.managed-app.name
  lock_level          = "ReadOnly"
  package_file_uri    = "https://github.com/ralacher/azure-demos/releases/download/managed-application/virtual-machine.zip"
main.tf#L7
resource "azurerm_managed_application_definition" "this" {
  create_ui_definition = var.create_ui_definition
  description          = var.description
  display_name         = var.display_name
  location             = var.location
  lock_level           = var.lock_level

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a Managed Application Definition.

Azure Resource Manager Example

Azure Resource Manager code does not have the related resource.

Frequently asked questions

What is Azure Managed Applications Definition?

Azure Managed Applications Definition is a resource for Managed Applications of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure Managed Applications Definition?

For Terraform, the ralacher/azure-demos and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.