diff --git a/internal/services/containerapps/container_app_resource_test.go b/internal/services/containerapps/container_app_resource_test.go index e39c31727389..a4d49b894159 100644 --- a/internal/services/containerapps/container_app_resource_test.go +++ b/internal/services/containerapps/container_app_resource_test.go @@ -329,7 +329,7 @@ resource "azurerm_container_app" "test" { transport = "http" traffic_weight { latest_revision = true - weight = 100 + percentage = 100 } } @@ -426,7 +426,7 @@ resource "azurerm_container_app" "test" { transport = "http" traffic_weight { latest_revision = true - weight = 100 + percentage = 100 } } @@ -530,12 +530,12 @@ resource "azurerm_container_app" "test" { traffic_weight { latest_revision = true - weight = 20 + percentage = 20 } traffic_weight { revision_suffix = "rev1" - weight = 80 + percentage = 80 } } @@ -650,12 +650,12 @@ resource "azurerm_container_app" "test" { traffic_weight { latest_revision = true - weight = 20 + percentage = 20 } traffic_weight { revision_suffix = "rev1" - weight = 80 + percentage = 80 } } diff --git a/internal/services/containerapps/helpers/container_apps.go b/internal/services/containerapps/helpers/container_apps.go index e34497307308..41d188b230fe 100644 --- a/internal/services/containerapps/helpers/container_apps.go +++ b/internal/services/containerapps/helpers/container_apps.go @@ -279,7 +279,7 @@ func ContainerAppIngressTrafficWeight() *pluginsdk.Schema { Type: pluginsdk.TypeInt, Required: true, ValidateFunc: validation.IntBetween(0, 100), // TODO - this may just be multiples of 10? - Description: "The weight (%) of traffic to send to this revision.", + Description: "The percentage of traffic to send to this revision.", }, }, },