-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
T-Systems MMS
committed
Jul 12, 2023
1 parent
445c309
commit 0ad76e7
Showing
2 changed files
with
99 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!-- BEGIN_TF_DOCS --> | ||
# key_vault | ||
|
||
This module manages the hashicorp/azurerm key_vault resources. | ||
For more information see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs > key_vault | ||
|
||
_<-- This file is autogenerated, please do not change. -->_ | ||
|
||
## Requirements | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| terraform | >=1.4 | | ||
| azurerm | >=3.51.0 | | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| azurerm | >=3.51.0 | | ||
|
||
## Resources | ||
|
||
| Name | Type | | ||
|------|------| | ||
| azurerm_key_vault.key_vault | resource | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| key_vault | Resource definition, default settings are defined within locals and merged with var settings. For more information look at [Outputs](#Outputs). | `any` | `{}` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| key_vault | Outputs all attributes of resource_type. | | ||
| variables | Displays all configurable variables passed by the module. __default__ = predefined values per module. __merged__ = result of merging the default values and custom values passed to the module | | ||
|
||
## Examples | ||
|
||
Minimal configuration to install the desired resources with the module | ||
|
||
```hcl | ||
data "azurerm_subscription" "current" {} | ||
module "key_vault" { | ||
source = "registry.terraform.io/telekom-mms/key-vault/azurerm" | ||
key_vault = { | ||
kv-mms = { | ||
location = "westeurope" | ||
resource_group_name = "rg-mms-github" | ||
tenant_id = data.azurerm_subscription.current.tenant_id | ||
} | ||
} | ||
} | ||
``` | ||
|
||
Advanced configuration to install the desired resources with the module | ||
|
||
```hcl | ||
data "azurerm_subscription" "current" {} | ||
module "key_vault" { | ||
source = "registry.terraform.io/telekom-mms/key-vault/azurerm" | ||
key_vault = { | ||
kv-mms = { | ||
location = "westeurope" | ||
resource_group_name = "rg-mms-github" | ||
tenant_id = data.azurerm_subscription.current.tenant_id | ||
network_acls = { | ||
bypass = "AzureServices" | ||
ip_rules = ["172.0.0.2"] | ||
} | ||
tags = { | ||
project = "mms-github" | ||
environment = terraform.workspace | ||
managed-by = "terraform" | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
<!-- END_TF_DOCS --> |