Skip to content

Allow sending start_time with default values #23909

@ChrisGe4

Description

@ChrisGe4

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

Allow sending start_time with default values. start_time 00:00 represents the policy will start at midnight.

New or Affected Resource(s)

  • google_clouddeploy_deploy_policy

Potential Terraform Configuration

resource "google_clouddeploy_deploy_policy" "deploy_policy" {
  name     = "tf-test-cd-policy%{random_suffix}"
  location = "us-central1"
  selectors {
    delivery_pipeline {
      id = "tf-test-cd-pipeline%{random_suffix}"
    }
  }
  rules {
    rollout_restriction {
      id = "rule"
      time_windows {
        time_zone = "America/Los_Angeles"
        weekly_windows {
            start_time {
            hours = 0
            minutes = 0
           }
          end_time {
            hours = "24"
            minutes = "00"
          }
        }
      }
    }
  }
}

References

b/411422060

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions