From 82b23b030cab562c85f3fdebfc6efeb4f2dbb62a Mon Sep 17 00:00:00 2001 From: Savija Vijayaraghavan Date: Tue, 5 Dec 2023 15:13:09 +0000 Subject: [PATCH] chore (Compute):Update wildcard format in os_version in the terraform sample Although the os policy assignment rollout was successful, the policy wasn't applied on VMs. As per the suggestion from eng team, changed the wildcard format to match all operating systems with the version provided. --- compute/os_config_policy/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compute/os_config_policy/main.tf b/compute/os_config_policy/main.tf index 5ee83a596..b7d598635 100644 --- a/compute/os_config_policy/main.tf +++ b/compute/os_config_policy/main.tf @@ -42,7 +42,7 @@ resource "google_os_config_os_policy_assignment" "my_os_policy_assignment" { inventories { os_short_name = "centos" - os_version = "7.*" + os_version = "7*" } } @@ -70,7 +70,7 @@ resource "google_os_config_os_policy_assignment" "my_os_policy_assignment" { inventory_filters { os_short_name = "centos" - os_version = "7.*" + os_version = "7*" } }