Manages a Resource Group.
- Format and validate Terraform code before commit.
terraform init -upgrade \
&& terraform init -reconfigure -upgrade \
&& terraform fmt -recursive . \
&& terraform fmt -check \
&& terraform validate .
- Always fetch latest changes from upstream and rebase from it. Terraform documentation will always be updated with GitHub Actions. See also .github/workflows/terraform.yml GitHub Actions workflow.
git fetch --all --tags --prune --prune-tags \
&& git pull --rebase --all --prune --tags
Name | Version |
---|---|
terraform | >= 1.3.1 |
azurerm | >= 3.33.0, < 4.0.0 |
Name | Version |
---|---|
azurerm | 3.37.0 |
No modules.
Name | Type |
---|---|
azurerm_resource_group.resource_group | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app_name | (Required) Name of this resource within the system it belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a | yes |
environment | (Required) The name of the environment. | string |
n/a | yes |
location | (Required) The location where the resource should exist. Changing this forces a new resource to be created. | string |
n/a | yes |
override_name | (Optional) Override the name of the resource. Under normal circumstances, it should not be used. | string |
null |
no |
system_short_name | (Required) Short abbreviation (to-three letters) of the system name that this resource belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a | yes |
tags | (Optional) A mapping of tags to assign to the resource. | map(string) |
{} |
no |
Name | Description |
---|---|
azurerm_resource_group | The Azure Resource Group resource. |