Skip to content

Commit

Permalink
fix: 'disable_bgp_route_propagation' attribute changed to 'bgp_route_…
Browse files Browse the repository at this point in the history
…propagation_enabled' in the route table resource
  • Loading branch information
ravimalvia10 committed Jul 16, 2024
1 parent 91f0ac9 commit 3fa3a3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ resource "azurerm_route_table" "rt" {
name = var.route_table_name == null ? format("%s-route-table", module.labels.id) : format("%s-%s-route-table", module.labels.id, var.route_table_name)
location = var.location
resource_group_name = var.resource_group_name
disable_bgp_route_propagation = var.disable_bgp_route_propagation
bgp_route_propagation_enabled = var.bgp_route_propagation_enabled
tags = module.labels.tags

dynamic "route" {
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ variable "route_table_name" {
description = "The name of the route table."
}

variable "disable_bgp_route_propagation" {
variable "bgp_route_propagation_enabled" {
type = bool
default = false
default = true
description = "Boolean flag which controls propagation of routes learned by BGP on that route table."
}

Expand Down
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Terraform version
terraform {
required_version = ">= 1.6.6"
required_version = ">= 1.9.1"
}

terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">=3.85.0"
version = ">=3.112.0"
}
}
}

0 comments on commit 3fa3a3f

Please sign in to comment.