@@ -5,6 +5,11 @@ Includes pre-commit hooks that lint the terraform code and generate module's
55documentation as part of README file.
66Contains examples of terraform CI/CD pipelines for GitHub Actions and Azure Pipelines.
77
8+ ## Azure naming conventions
9+
10+ - [ Define your naming convention] ( https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-naming )
11+ - [ Azure naming module] ( https://registry.terraform.io/modules/Azure/naming/azurerm/latest )
12+
813## Terraform Init
914
1015- Create and configure Azure Storage Account for Terraform state
@@ -19,8 +24,9 @@ Contains examples of terraform CI/CD pipelines for GitHub Actions and Azure Pipe
1924
2025# # Module referencing
2126
22- - Bitbucket: ` git::git@bitbucket.org:kolosovpetro/terraform.git//modules/storage`
23- - Github: ` git::git@github.com:kolosovpetro/terraform.git//modules/storage`
27+ - Bitbucket SSH: ` git::git@bitbucket.org:kolosovpetro/terraform.git//modules/storage`
28+ - Github SSH: ` git::git@github.com:kolosovpetro/terraform.git//modules/storage`
29+ - Github HTTP: ` github.com/kolosovpetro/AzureLinuxVMTerraform.git//modules/ubuntu-vm-key-auth-no-pip? ref=master`
2430
2531# # Pre-commit configuration
2632
@@ -46,57 +52,6 @@ Contains examples of terraform CI/CD pipelines for GitHub Actions and Azure Pipe
4652- https://terraform-docs.io/user-guide/installation/
4753- https://pre-commit.com/
4854
49- # # Storage account configuration file
50-
51- ` ` ` bash
52- storage_account_name = " storage_account_name"
53- container_name = " container_name"
54- key = " terraform.tfstate"
55- sas_token = " sas_token"
56- ` ` `
57-
5855# # Deploy storage account for terraform state
5956
6057- See [CreateAzureStorageAccount.ps1](./CreateAzureStorageAccount.ps1)
61-
62- # Module documentation
63-
64- < ! -- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
65-
66- # # Requirements
67-
68- | Name | Version |
69- | ---------------------------------------------------------------------| ---------|
70- | < a name=" requirement_azurerm" ></a> [azurerm](# requirement\_azurerm) | =3.71.0 |
71-
72- # # Providers
73-
74- | Name | Version |
75- | ---------------------------------------------------------------| ---------|
76- | < a name=" provider_azurerm" ></a> [azurerm](# provider\_azurerm) | 3.71.0 |
77-
78- # # Modules
79-
80- | Name | Source | Version |
81- | ----------------------------------------------------------------------------------| -----------------------------| ---------|
82- | < a name=" module_resource_group" ></a> [resource\_ group](# module\_resource\_group) | ./modules/example_submodule | n/a |
83-
84- # # Resources
85-
86- | Name | Type |
87- | -----------------------------------------------------------------------------------------------------------------------------------| -------------|
88- | [azurerm_resource_group.public](https://registry.terraform.io/providers/hashicorp/azurerm/3.71.0/docs/resources/resource_group) | resource |
89- | [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/3.71.0/docs/data-sources/client_config) | data source |
90-
91- # # Inputs
92-
93- | Name | Description | Type | Default | Required |
94- | -------------------------------------------------------------------------------------------------------------| --------------------------| ----------| ---------| :--------:|
95- | < a name=" input_prefix" ></a> [prefix](# input\_prefix) | Prefix for all resources | `string` | n/a | yes |
96- | < a name=" input_resource_group_location" ></a> [resource\_ group\_ location](# input\_resource\_group\_location) | Resource group location | `string` | n/a | yes |
97- | < a name=" input_resource_group_name" ></a> [resource\_ group\_ name](# input\_resource\_group\_name) | Resource group name | `string` | n/a | yes |
98-
99- # # Outputs
100-
101- No outputs.
102- < ! -- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
0 commit comments