diff --git a/clouddeploy_deploy_policy_basic/main.tf b/clouddeploy_deploy_policy_basic/main.tf index c0bd20e0..9ad4d271 100644 --- a/clouddeploy_deploy_policy_basic/main.tf +++ b/clouddeploy_deploy_policy_basic/main.tf @@ -13,11 +13,11 @@ resource "google_clouddeploy_deploy_policy" "b-deploy-policy" { time_zone = "America/Los_Angeles" weekly_windows { start_time { - hours = "12" - minutes = "00" + hours = 0 + minutes = 0 } end_time { - hours = "13" + hours = "24" minutes = "00" } } diff --git a/clouddeploy_deploy_policy_full/main.tf b/clouddeploy_deploy_policy_full/main.tf index 191255f5..5974b5ef 100644 --- a/clouddeploy_deploy_policy_full/main.tf +++ b/clouddeploy_deploy_policy_full/main.tf @@ -34,16 +34,12 @@ resource "google_clouddeploy_deploy_policy" "f-deploy-policy" { time_zone = "America/Los_Angeles" weekly_windows { start_time { - hours = "12" - minutes = "00" - seconds = "00" - nanos = "00" + hours = 0 + minutes = 0 } end_time { hours = "13" minutes = "00" - seconds = "00" - nanos = "00" } } } @@ -60,8 +56,6 @@ resource "google_clouddeploy_deploy_policy" "f-deploy-policy" { start_time { hours = "13" minutes = "00" - seconds = "00" - nanos = "00" } end_time { hours = "14" @@ -74,16 +68,12 @@ resource "google_clouddeploy_deploy_policy" "f-deploy-policy" { one_time_windows { start_time { - hours = "15" + hours = "00" minutes = "00" - seconds = "00" - nanos = "00" } end_time { hours = "16" minutes = "00" - seconds = "00" - nanos = "00" } start_date { year = "2019"