Policy: GCP > Compute Engine > Instance > Schedule > Tag
Allow setting a schedule for starting and stopping an Compute Engine instance via the turbot_custom_schedule tag. If the schedule is invalid, no actions will be taken against the instance.
Note that if both "Schedule" and "Schedule Tag" are set to enforce and the instance has a turbot_custom_schedule, then the schedule specified by the tag will be in effect.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceSchedule
- tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag
- turbot graphql policy-type --id "tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI