Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/questopshub/terraform-azurerm-resource-group
Terraform module to create an Azure Resource Group.
https://github.com/questopshub/terraform-azurerm-resource-group
azure azure-resource-group iac infrastructure-as-code terraform terraform-module
Last synced: 10 days ago
JSON representation
Terraform module to create an Azure Resource Group.
- Host: GitHub
- URL: https://github.com/questopshub/terraform-azurerm-resource-group
- Owner: QuestOpsHub
- License: mit
- Created: 2025-01-23T01:25:46.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2025-01-23T02:19:20.000Z (11 days ago)
- Last Synced: 2025-01-23T02:30:35.258Z (11 days ago)
- Topics: azure, azure-resource-group, iac, infrastructure-as-code, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Resource Group Terraform Module
Terraform module to create an Azure Resource Group.
# Table of Contents
- [Resource Naming Convention](#resource-naming-convention)
- [Format](#format)
- [Component Definitions](#component-definitions)
- [Providers](#providers)
- [Modules](#modules)
- [Resources](#resources)
- [Inputs](#inputs)
- [Outputs](#outputs)## Resource Naming Convention
Naming conventions for Azure resources should be consistent, following a clear pattern that makes it easy to understand, manage, and organize resources across various projects and environments.
#### Format
```
----
```**Note**: Keep in mind that not all Azure resources can adhere to the same naming patterns. Be sure to understand the specific limitations and requirements of the resource types you're working with.
#### Component Definitions
| **Component** | **Description** | **Example(s)** |
|-----------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| `` | The type of the Azure resource (e.g., resource group, virtual machine, storage account). | `rg` for Resource Group, `vm` for Virtual Machine |
| `` | The name of the project. | `qoh` for QuestOpsHub |
| `` | The environment for the resource. | `prod`, `dev`, `stage`, `test` |
| `` | The Azure region abbreviation (e.g., Central US, East US, West US). | `cus` for Central US, `eus` for East US, `wus` for West US |
| `` | A unique identifier to differentiate between multiple instances of the same resource type. This is usually a sequential number. | `001`, `002`, `003` |## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >=0.13 |
| [azurerm](#requirement\_azurerm) | >=4.0.0 |## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | >=4.0.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_resource_group.resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [location](#input\_location) | (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. | `string` | n/a | yes |
| [managed\_by](#input\_managed\_by) | (Optional) The ID of the resource or application that manages this Resource Group. | `string` | `null` | no |
| [name](#input\_name) | (Required) The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. | `string` | n/a | yes |
| [tags](#input\_tags) | (Optional) A mapping of tags to assign to the resource. | `map(any)` | `{}` | no |## Outputs
| Name | Description |
|------|-------------|
| [id](#output\_id) | The ID of the Resource Group. |
| [location](#output\_location) | The Location of the Resource Group. |
| [name](#output\_name) | The Name of the Resource Group. |
| [tags](#output\_tags) | The Tags of the Resource Group. |