diff --git a/CHANGELOG.md b/CHANGELOG.md index e6de422cc..fa62a55bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - [#774](https://github.com/XenitAB/terraform-modules/pull/774) [Breaking] Add extra_config to ingress nginx config object. +### Changed + +- [#776](https://github.com/XenitAB/terraform-modules/pull/776) [Breaking] Remove default value for unique_suffix in Azure core module. + ## 2022.08.3 ### Added diff --git a/modules/azure/core/README.md b/modules/azure/core/README.md index c40b55f3a..150e96979 100644 --- a/modules/azure/core/README.md +++ b/modules/azure/core/README.md @@ -58,7 +58,7 @@ No modules. | [route\_config](#input\_route\_config) | Route configuration. Not applied to AKS subnets |
list(object({| `[]` | no | | [subnet\_private\_endpoints](#input\_subnet\_private\_endpoints) | Enable private enpoint for specific subnet names | `map(bool)` | `{}` | no | | [subscription\_name](#input\_subscription\_name) | The subscription commonName to use for the deploy | `string` | n/a | yes | -| [unique\_suffix](#input\_unique\_suffix) | Unique suffix that is used in globally unique resources names | `string` | `""` | no | +| [unique\_suffix](#input\_unique\_suffix) | Unique suffix that is used in globally unique resources names | `string` | n/a | yes | | [vnet\_config](#input\_vnet\_config) | Address spaces used by virtual network |
subnet_name = string # Short name for the subnet
routes = list(object({
name = string # Name of the route
address_prefix = string # Example: 192.168.0.0/24
next_hop_type = string # VirtualNetworkGateway, VnetLocal, Internet, VirtualAppliance and None
next_hop_in_ip_address = string # Only set if next_hop_type is VirtualAppliance
}))
}))
object({| n/a | yes | ## Outputs diff --git a/modules/azure/core/variables.tf b/modules/azure/core/variables.tf index 16da2ca39..d4e0faa00 100644 --- a/modules/azure/core/variables.tf +++ b/modules/azure/core/variables.tf @@ -96,5 +96,4 @@ variable "enable_storage_account" { variable "unique_suffix" { description = "Unique suffix that is used in globally unique resources names" type = string - default = "" } diff --git a/validation/azure/core/main.tf b/validation/azure/core/main.tf index 8ba184900..39254fdd8 100644 --- a/validation/azure/core/main.tf +++ b/validation/azure/core/main.tf @@ -13,6 +13,7 @@ module "core" { location_short = "we" subscription_name = "xks" name = "core" + unique_suffix = "" vnet_config = { address_space = ["10.180.0.0/16"] dns_servers = []
address_space = list(string)
dns_servers = list(string)
subnets = list(object({
name = string
cidr = string
service_endpoints = list(string)
aks_subnet = bool
}))
})