Skip to content

libre-devops/terraform-azurerm-automation-account

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

module "rg" {
  source = "registry.terraform.io/libre-devops/rg/azurerm"

  rg_name  = "rg-${var.short}-${var.loc}-${terraform.workspace}-build" // rg-ldo-euw-dev-build
  location = local.location                                            // compares var.loc with the var.regions var to match a long-hand name, in this case, "euw", so "westeurope"
  tags     = local.tags

  #  lock_level = "CanNotDelete" // Do not set this value to skip lock
}


module "aa" {
  source = "registry.terraform.io/libre-devops/automation-account/azurerm"

  rg_name  = module.rg.rg_name
  location = module.rg.rg_location
  tags     = module.rg.rg_tags

  automation_account_name       = "aa-${var.short}-${var.loc}-${terraform.workspace}-01"
  public_network_access_enabled = true
}

Requirements

No requirements.

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_automation_account.aa resource

Inputs

Name Description Type Default Required
automation_account_name The name of the automation account string n/a yes
identity_ids Specifies a list of user managed identity ids to be assigned to the VM. list(string) [] no
identity_type The Managed Service Identity Type of this Virtual Machine. string "" no
location The location for this resource to be put in string n/a yes
public_network_access_enabled If public network access is enabled bool n/a yes
rg_name The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists string n/a yes
sku_name The SKU of the automation account, Basic is the only supported value string "Basic" no
tags A map of the tags to use on the resources that are deployed with this module. map(string)
{
"source": "terraform"
}
no

Outputs

Name Description
aa_dsc_primary_access_key The DSC primary access key
aa_dsc_secondary_access_key The DSC secondary access key
aa_dsc_server_endpoint The DSC server endpoint of the automation account
aa_id The ID of the automation account
aa_identity The identity block of the automation account
aa_name The name of the automation account