Skip to content

Commit

Permalink
Release/v2.0.2 (#377)
Browse files Browse the repository at this point in the history
* Update module version to 2.0.2

* Add enable_bgp condition for Basic VPNGW SKU (#376)

* Fix incorrect object lookup (#375)

* Remove module version from base_module_tags/deployedBy (#374)
  • Loading branch information
matt-FFFFFF authored May 13, 2022
1 parent 9a1b66e commit 0db9482
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[Examples]-Deploy-Connectivity-Resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[Examples]-Deploy-Default-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[Examples]-Deploy-Identity-Resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[Examples]-Deploy-Management-Resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
6 changes: 3 additions & 3 deletions docs/wiki/[Examples]-Deploy-Using-Module-Nesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The extra code needed to extend your configuration, is the following:
module "enterprise_scale_nested_landing_zone" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down Expand Up @@ -134,7 +134,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down Expand Up @@ -183,7 +183,7 @@ module "enterprise_scale" {
module "enterprise_scale_nested_landing_zone" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[Examples]-Override-Module-Role-Assignments.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ data "azurerm_client_config" "core" {}
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/[User-Guide]-Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Copy and paste the following 'module' block into your Terraform configuration, i
```hcl
module "caf-enterprise-scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
6 changes: 3 additions & 3 deletions docs/wiki/[User-Guide]-Provider-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ provider "azurerm" {

module "caf-enterprise-scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"

providers = {
azurerm = azurerm
Expand Down Expand Up @@ -149,7 +149,7 @@ provider "azurerm" {
module "caf-enterprise-scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down Expand Up @@ -207,7 +207,7 @@ data "azurerm_client_config" "connectivity" {
# Map each module provider to their corresponding `azurerm` provider using the providers input object
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "2.0.1"
version = "2.0.2"
providers = {
azurerm = azurerm
Expand Down
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ locals {
# tag blocks for each sub-module
locals {
base_module_tags = {
deployedBy = "terraform/azure/caf-enterprise-scale/${local.module_version}"
deployedBy = "terraform/azure/caf-enterprise-scale"
}
connectivity_resources_tags = merge(
local.disable_base_module_tags ? local.empty_map : local.base_module_tags,
Expand Down
2 changes: 1 addition & 1 deletion locals.version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
module_version = "v2.0.1"
module_version = "v2.0.2"
}
2 changes: 1 addition & 1 deletion modules/connectivity/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ locals {
)
)
vpn_type = try(local.custom_settings.azurerm_virtual_network_gateway["connectivity_vpn"][location].vpn_type, "RouteBased")
enable_bgp = coalesce(hub_network.config.virtual_network_gateway.config.advanced_vpn_settings.enable_bgp, false)
enable_bgp = lower(hub_network.config.virtual_network_gateway.config.gateway_sku_vpn) == "basic" ? null : coalesce(hub_network.config.virtual_network_gateway.config.advanced_vpn_settings.enable_bgp, false)
active_active = coalesce(hub_network.config.virtual_network_gateway.config.advanced_vpn_settings.active_active, false)
private_ip_address_enabled = (
contains(
Expand Down
2 changes: 1 addition & 1 deletion resources.connectivity.tf
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ resource "azurerm_virtual_network_gateway" "connectivity" {
content {
# Optional attributes
asn = try(bgp_settings.value["asn"], null)
peer_weight = try(bgp_settings.value["private_ip_address_allocation"], null)
peer_weight = try(bgp_settings.value["peer_weight"], null)

dynamic "peering_addresses" {
for_each = try(bgp_settings.value["peering_addresses"], null)
Expand Down

0 comments on commit 0db9482

Please sign in to comment.