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
}
No requirements.
Name | Version |
---|---|
azurerm | n/a |
No modules.
Name | Type |
---|---|
azurerm_automation_account.aa | resource |
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) |
{ |
no |
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 |