https://github.com/libre-devops/terraform-azurerm-automation-account
A module used to deploy an Azure Automation account based on parameters :gun:
https://github.com/libre-devops/terraform-azurerm-automation-account
azure azurerm azurerm-terraform-provider module terraform terraform-module
Last synced: 2 months ago
JSON representation
A module used to deploy an Azure Automation account based on parameters :gun:
- Host: GitHub
- URL: https://github.com/libre-devops/terraform-azurerm-automation-account
- Owner: libre-devops
- License: mit
- Created: 2022-05-02T00:24:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T21:43:36.000Z (almost 3 years ago)
- Last Synced: 2024-12-26T16:12:22.432Z (4 months ago)
- Topics: azure, azurerm, azurerm-terraform-provider, module, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
```hcl
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_tagsautomation_account_name = "aa-${var.short}-${var.loc}-${terraform.workspace}-01"
public_network_access_enabled = true
}
```## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | n/a |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_automation_account.aa](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/automation_account) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [automation\_account\_name](#input\_automation\_account\_name) | The name of the automation account | `string` | n/a | yes |
| [identity\_ids](#input\_identity\_ids) | Specifies a list of user managed identity ids to be assigned to the VM. | `list(string)` | `[]` | no |
| [identity\_type](#input\_identity\_type) | The Managed Service Identity Type of this Virtual Machine. | `string` | `""` | no |
| [location](#input\_location) | The location for this resource to be put in | `string` | n/a | yes |
| [public\_network\_access\_enabled](#input\_public\_network\_access\_enabled) | If public network access is enabled | `bool` | n/a | yes |
| [rg\_name](#input\_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](#input\_sku\_name) | The SKU of the automation account, Basic is the only supported value | `string` | `"Basic"` | no |
| [tags](#input\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` |{| no |
"source": "terraform"
}## Outputs
| Name | Description |
|------|-------------|
| [aa\_dsc\_primary\_access\_key](#output\_aa\_dsc\_primary\_access\_key) | The DSC primary access key |
| [aa\_dsc\_secondary\_access\_key](#output\_aa\_dsc\_secondary\_access\_key) | The DSC secondary access key |
| [aa\_dsc\_server\_endpoint](#output\_aa\_dsc\_server\_endpoint) | The DSC server endpoint of the automation account |
| [aa\_id](#output\_aa\_id) | The ID of the automation account |
| [aa\_identity](#output\_aa\_identity) | The identity block of the automation account |
| [aa\_name](#output\_aa\_name) | The name of the automation account |