Skip to content

Commit 0446071

Browse files
avilevy18hsmatulis
andauthored
bug: Changes to descriptions of OsPolicyAssignment (#107)
Co-authored-by: hsmatulisgoogle <hmatulis@google.com>
1 parent 41e1083 commit 0446071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ops-agent-policy/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "google_os_config_os_policy_assignment" "ops_agent_policy" {
5454
id = local.os_policies.id
5555
mode = local.os_policies.mode
5656
allow_no_resource_group_match = local.os_policies.allowNoResourceGroupMatch
57-
description = "AUTO-GENERATED VALUE BY TERRAFORM, DO NOT EDIT! Enforces Ops Agent installation state."
57+
description = "AUTO-GENERATED VALUE, DO NOT EDIT! | {\"packageState\":\"${var.agents_rule.package_state}\",\"version\":\"${var.agents_rule.version}\"}"
5858

5959
dynamic "resource_groups" {
6060
for_each = local.os_policies.resourceGroups
@@ -340,7 +340,7 @@ resource "google_os_config_os_policy_assignment" "ops_agent_policy" {
340340
}
341341
min_wait_duration = "3s"
342342
}
343-
description = "AUTO-GENERATED VALUE BY TERRAFORM, DO NOT EDIT! | {\"packageState\":\"${var.agents_rule.package_state}\",\"version\":\"${var.agents_rule.version}\"}'"
343+
description = "Cloud Ops Policy Assignment via Terraform"
344344
project = var.project
345345
skip_await_rollout = true
346346
}

0 commit comments

Comments
 (0)