https://github.com/webmasterdevlin/sample-terraform-task-miljo
https://github.com/webmasterdevlin/sample-terraform-task-miljo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/webmasterdevlin/sample-terraform-task-miljo
- Owner: webmasterdevlin
- Created: 2021-10-11T08:43:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-11T08:43:31.000Z (over 4 years ago)
- Last Synced: 2025-01-26T13:41:40.227Z (over 1 year ago)
- Language: HCL
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cp-mgt
## Run this command twice before committing. Make sure all checks are passing
```zsh
pre-commit run -a
```
#### Table of Contents
1. [Usage](#usage)
2. [Requirements](#requirements)
3. [Providers](#Providers)
4. [Inputs](#inputs)
5. [Outputs](#outputs)
## Usage
\*various commands
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.8 |
| [azurerm](#requirement\_azurerm) | >= 2.79.1 |
| [null](#requirement\_null) | ~> 3.1.0 |
| [random](#requirement\_random) | ~> 3.1.0 |
| [time](#requirement\_time) | ~> 0.7.2 |
| [tls](#requirement\_tls) | ~> 3.1.0 |
## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | 2.80.0 |
| [random](#provider\_random) | 3.1.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [log\_analytics\_workspace](#module\_log\_analytics\_workspace) | ./platform/production | n/a |
## Resources
| Name | Type |
|------|------|
| [azurerm_resource_group.rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |
| [random_string.name](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [client\_id](#input\_client\_id) | This is the appId. Then TF\_VAR\_client\_id in environment variables of Terraform Workspace. | `string` | n/a | yes |
| [client\_secret](#input\_client\_secret) | This is the password. Then TF\_VAR\_client\_secret in environment variables of Terraform Workspace. | `string` | n/a | yes |
| [log\_analytics\_workspace\_daily\_quota\_gb](#input\_log\_analytics\_workspace\_daily\_quota\_gb) | n/a | `any` | n/a | yes |
| [log\_analytics\_workspace\_retention\_in\_days](#input\_log\_analytics\_workspace\_retention\_in\_days) | n/a | `any` | n/a | yes |
| [log\_analytics\_workspace\_sku](#input\_log\_analytics\_workspace\_sku) | n/a | `any` | n/a | yes |
| [resource\_group\_location](#input\_resource\_group\_location) | n/a | `any` | n/a | yes |
| [resource\_group\_name](#input\_resource\_group\_name) | n/a | `any` | n/a | yes |
| [subscription\_id](#input\_subscription\_id) | This is the subscription id. Then TF\_VAR\_subscription\_id in environment variables of Terraform Workspace. | `string` | n/a | yes |
| [tenant\_id](#input\_tenant\_id) | This is the tenant. Then TF\_VAR\_tenant\_id in environment variables of Terraform Workspace. | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [log\_analytics\_workspace\_name](#output\_log\_analytics\_workspace\_name) | log analytics workspace name |
| [rg\_location](#output\_rg\_location) | resource group location |
| [rg\_name](#output\_rg\_name) | resource group name |