Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
GCP
Loading policies...

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.

Targets

This policy targets the following resource types:

  • GCP > Compute Engine > Instance

Primary Policy

This policy is used with the following primary policy:

  • GCP > Compute Engine > Instance > Schedule

Controls

Setting this policy configures this control:

  • GCP > Compute Engine > Instance > Schedule

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Enforce: Schedule per turbot_custom_schedule tag
    
Examples [YAML]
  • Enforce: Schedule per turbot_custom_schedule tag
    

Category

  • Resource > Schedule

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceSchedule
  • Policy Type URI
    • tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-computeengine#/policy/types/instanceScheduleTag"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
40
Mods
151
Resource Types
2,578
Policies
1,255
Controls
118
Quick Actions
89
IAM