From 36327bb952dbc3377b1d4cb2a6fe88b335128519 Mon Sep 17 00:00:00 2001 From: jiayimeow <136068086+jiayimeow@users.noreply.github.com> Date: Mon, 30 Oct 2023 03:17:15 -0700 Subject: [PATCH] mark evaluation_mode as computed. --- .../services/container/resource_container_cluster.go.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/mmv1/third_party/terraform/services/container/resource_container_cluster.go.erb b/mmv1/third_party/terraform/services/container/resource_container_cluster.go.erb index 19c6731e0af5..58ea973c8eda 100644 --- a/mmv1/third_party/terraform/services/container/resource_container_cluster.go.erb +++ b/mmv1/third_party/terraform/services/container/resource_container_cluster.go.erb @@ -819,6 +819,7 @@ func ResourceContainerCluster() *schema.Resource { "evaluation_mode": { Type: schema.TypeString, Optional: true, + Computed: true, ValidateFunc: validation.StringInSlice([]string{"DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE"}, false), Description: "Mode of operation for Binary Authorization policy evaluation.", ConflictsWith: []string{"binary_authorization.0.enabled"},