diff --git a/README.md b/README.md index c8c02d0..886d140 100644 --- a/README.md +++ b/README.md @@ -35,20 +35,20 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [cidr](#input\_cidr) | The address prefixes to use for the subnet | `string` | n/a | yes | -| [delegations](#input\_delegations) | (optional) subnet delegation |
list(object({
name = string
actions = list(string)
}))
| `[]` | no | +| [delegations](#input\_delegations) | (optional) subnet delegation |
list(object({
name = string
actions = list(string)
}))
| `[]` | no | | [export\_subnet\_id](#input\_export\_subnet\_id) | ID of already existing subnet. Provide this value to associate existing subnet with given Network Security Group | `string` | `null` | no | | [name](#input\_name) | The name of the subnet | `string` | n/a | yes | | [nat\_gateway\_association\_enabled](#input\_nat\_gateway\_association\_enabled) | Boolean flag that determines if NAT Gateway association would be created | `bool` | `false` | no | | [nat\_gateway\_id](#input\_nat\_gateway\_id) | ID of the NAT Gateway which would be assigned to subnet | `string` | `null` | no | -| [network](#input\_network) | The name of the virtual network in which the subnet is created in | `string` | n/a | yes | +| [network](#input\_network) | The name of the virtual network in which the subnet is created | `string` | n/a | yes | | [nsg\_association\_enabled](#input\_nsg\_association\_enabled) | Boolean flag that determines if NSG association would be created | `bool` | `false` | no | | [nsg\_id](#input\_nsg\_id) | The ID of the Network Security Group which should be associated with the Subnet | `string` | `null` | no | | [private\_endpoint\_network\_policies](#input\_private\_endpoint\_network\_policies) | Enable or Disable network policies for the private endpoint on the subnet. Possible values: [Disabled\|Enabled\|NetworkSecurityGroupEnabled\|RouteTableEnabled] | `string` | `"Enabled"` | no | | [private\_link\_service\_network\_policies\_enabled](#input\_private\_link\_service\_network\_policies\_enabled) | Enable or Disable network policies for the private link service on the subnet. Setting this to true will Enable the policy and setting this to false will Disable the policy: [true\|false] | `bool` | `true` | no | -| [resource\_group](#input\_resource\_group) | The name of the resource group in which to create the storage account | `string` | n/a | yes | +| [resource\_group](#input\_resource\_group) | The name of the resource group in which to create the subnet | `string` | n/a | yes | | [route\_table\_association\_enabled](#input\_route\_table\_association\_enabled) | Boolean flag that determines if Route Table association would be created | `bool` | `false` | no | | [route\_table\_id](#input\_route\_table\_id) | ID of the Route Table which would be assigned to subnet | `string` | `null` | no | -| [service\_endpoints](#input\_service\_endpoints) | The list of Service endpoints to associate with the subnet: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage, Microsoft.Web | `list(string)` |
[
"Microsoft.Storage",
"Microsoft.KeyVault",
"Microsoft.Sql",
"Microsoft.Web"
]
| no | +| [service\_endpoints](#input\_service\_endpoints) | The list of Service endpoints to associate with the subnet. Possible values: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage, Microsoft.Web etc. | `list(string)` |
[
"Microsoft.Storage",
"Microsoft.KeyVault",
"Microsoft.Sql",
"Microsoft.Web"
]
| no | ## Outputs diff --git a/variables.tf b/variables.tf index cb18b91..39242e6 100644 --- a/variables.tf +++ b/variables.tf @@ -5,12 +5,12 @@ variable "name" { variable "resource_group" { type = string - description = "The name of the resource group in which to create the storage account" + description = "The name of the resource group in which to create the subnet" } variable "network" { type = string - description = "The name of the virtual network in which the subnet is created in" + description = "The name of the virtual network in which the subnet is created" } variable "cidr" { @@ -32,7 +32,7 @@ variable "private_link_service_network_policies_enabled" { variable "service_endpoints" { type = list(string) - description = "The list of Service endpoints to associate with the subnet: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage, Microsoft.Web" + description = "The list of Service endpoints to associate with the subnet. Possible values: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage, Microsoft.Web etc." default = [ "Microsoft.Storage", "Microsoft.KeyVault",