standard
turbot/gcp_thrifty

Variables

The GCP Thrifty mod has 109 variables:

alarm_threshold

Name
alarm_threshold
Description
The threshold for cpu utilization to trigger an alarm.
Type
number
Default
25

alloydb_clusters_exceeding_max_age_days

Name
alloydb_clusters_exceeding_max_age_days
Description
The maximum number of days AlloyDB clusters can be retained.
Type
number
Default
15

alloydb_clusters_exceeding_max_age_default_action

Name
alloydb_clusters_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_alloydb_cluster
Default
notify

alloydb_clusters_exceeding_max_age_enabled_actions

Name
alloydb_clusters_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_alloydb_cluster
Default
[
"skip",
"delete_alloydb_cluster"
]

alloydb_clusters_exceeding_max_age_trigger_enabled

Name
alloydb_clusters_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

alloydb_clusters_exceeding_max_age_trigger_schedule

Name
alloydb_clusters_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

alloydb_instances_exceeding_max_age_days

Name
alloydb_instances_exceeding_max_age_days
Description
The maximum number of days AlloyDB instances can be retained.
Type
number
Default
15

alloydb_instances_exceeding_max_age_default_action

Name
alloydb_instances_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_alloydb_instance
Default
notify

alloydb_instances_exceeding_max_age_enabled_actions

Name
alloydb_instances_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_alloydb_instance
Default
[
"skip",
"delete_alloydb_instance"
]

alloydb_instances_exceeding_max_age_trigger_enabled

Name
alloydb_instances_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

alloydb_instances_exceeding_max_age_trigger_schedule

Name
alloydb_instances_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

approvers

Name
approvers
Description
List of notifiers to be used for obtaining action/approval decisions, when empty list will perform the default response associated with the detection.
Type
list(notifier)
Default
notifier.default

compute_addresses_if_unattached_default_action

Name
compute_addresses_if_unattached_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete
Default
notify

compute_addresses_if_unattached_enabled_actions

Name
compute_addresses_if_unattached_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete
Default
[
"skip",
"delete"
]

compute_addresses_if_unattached_trigger_enabled

Name
compute_addresses_if_unattached_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_addresses_if_unattached_trigger_schedule

Name
compute_addresses_if_unattached_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_disks_attached_to_stopped_instances_default_action

Name
compute_disks_attached_to_stopped_instances_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, detach_disk, detach_and_delete_compute_disk, snapshot_detach_and_delete_disk
Default
notify

compute_disks_attached_to_stopped_instances_enabled_actions

Name
compute_disks_attached_to_stopped_instances_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, detach_disk, detach_and_delete_compute_disk, snapshot_detach_and_delete_disk
Default
[
"skip",
"detach_disk",
"detach_and_delete_compute_disk",
"snapshot_detach_and_delete_disk"
]

compute_disks_attached_to_stopped_instances_trigger_enabled

Name
compute_disks_attached_to_stopped_instances_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_disks_attached_to_stopped_instances_trigger_schedule

Name
compute_disks_attached_to_stopped_instances_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_disks_exceeding_max_size

Name
compute_disks_exceeding_max_size
Description
The maximum size (GB) allowed for disks.
Type
number
Default
100

compute_disks_exceeding_max_size_default_action

Name
compute_disks_exceeding_max_size_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_disk, snapshot_and_delete_disk
Default
notify

compute_disks_exceeding_max_size_enabled_actions

Name
compute_disks_exceeding_max_size_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_disk, snapshot_and_delete_disk
Default
[
"skip",
"delete_disk",
"snapshot_and_delete_disk"
]

compute_disks_exceeding_max_size_trigger_enabled

Name
compute_disks_exceeding_max_size_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_disks_exceeding_max_size_trigger_schedule

Name
compute_disks_exceeding_max_size_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_disks_if_unattached_default_action

Name
compute_disks_if_unattached_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_compute_disk, snapshot_and_delete_compute_disk
Default
notify

compute_disks_if_unattached_enabled_actions

Name
compute_disks_if_unattached_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_compute_disk, snapshot_and_delete_compute_disk
Default
[
"skip",
"delete_compute_disk",
"snapshot_and_delete_compute_disk"
]

compute_disks_if_unattached_trigger_enabled

Name
compute_disks_if_unattached_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_disks_if_unattached_trigger_schedule

Name
compute_disks_if_unattached_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_disks_with_low_usage_default_action

Name
compute_disks_with_low_usage_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_disk, snapshot_and_delete_compute_disk
Default
notify

compute_disks_with_low_usage_enabled_actions

Name
compute_disks_with_low_usage_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_disk, snapshot_and_delete_compute_disk
Default
[
"skip",
"delete_disk",
"snapshot_and_delete_compute_disk"
]

compute_disks_with_low_usage_min

Name
compute_disks_with_low_usage_min
Description
The number of average read/write ops required for disks to be considered infrequently used.
Type
number
Default
100

compute_disks_with_low_usage_trigger_enabled

Name
compute_disks_with_low_usage_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_disks_with_low_usage_trigger_schedule

Name
compute_disks_with_low_usage_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_instances_exceeding_max_age_days

Name
compute_instances_exceeding_max_age_days
Description
The maximum age (in days) for an instance to be considered long-running.
Type
number
Default
30

compute_instances_exceeding_max_age_default_action

Name
compute_instances_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, stop_instance, terminate_instance
Default
notify

compute_instances_exceeding_max_age_enabled_actions

Name
compute_instances_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, stop_instance, terminate_instance
Default
[
"skip",
"stop_instance",
"terminate_instance"
]

compute_instances_exceeding_max_age_trigger_enabled

Name
compute_instances_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_instances_exceeding_max_age_trigger_schedule

Name
compute_instances_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_instances_large_allowed_types

Name
compute_instances_large_allowed_types
Description
A list of allowed instance types. PostgreSQL wildcards are supported.
Type
list(string)
Default
[
"custom-1-1024",
"custom-2-2048",
"custom-4-4096",
"custom-8-8192",
"custom-16-16384",
"custom-32-32768",
"custom-64-65536",
"custom-96-98304",
"custom-128-131072",
"custom-224-229376"
]

compute_instances_large_default_action

Name
compute_instances_large_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, stop_instance, terminate_instance
Default
notify

compute_instances_large_enabled_actions

Name
compute_instances_large_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, stop_instance, terminate_instance
Default
[
"skip",
"stop_instance",
"terminate_instance"
]

compute_instances_large_trigger_enabled

Name
compute_instances_large_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_instances_large_trigger_schedule

Name
compute_instances_large_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_instances_with_low_utilization_avg_cpu_utilization

Name
compute_instances_with_low_utilization_avg_cpu_utilization
Description
The average CPU utilization below which an instance is considered to have low utilization.
Type
number
Default
20

compute_instances_with_low_utilization_default_action

Name
compute_instances_with_low_utilization_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, stop_instance, stop_downgrade_instance_type
Default
notify

compute_instances_with_low_utilization_enabled_actions

Name
compute_instances_with_low_utilization_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, stop_instance, stop_downgrade_instance_type
Default
[
"skip",
"stop_instance",
"stop_downgrade_instance_type"
]

compute_instances_with_low_utilization_trigger_enabled

Name
compute_instances_with_low_utilization_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_instances_with_low_utilization_trigger_schedule

Name
compute_instances_with_low_utilization_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_node_group_max_nodes

Name
compute_node_group_max_nodes
Description
The maximum number of nodes to set for the autoscaler.
Type
number
Default
10

compute_node_groups_without_autoscaling_default_action

Name
compute_node_groups_without_autoscaling_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, enable_autoscaling_policy
Default
notify

compute_node_groups_without_autoscaling_enabled_actions

Name
compute_node_groups_without_autoscaling_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, enable_autoscaling_policy
Default
[
"skip",
"enable_autoscaling_policy"
]

compute_node_groups_without_autoscaling_trigger_enabled

Name
compute_node_groups_without_autoscaling_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_node_groups_without_autoscaling_trigger_schedule

Name
compute_node_groups_without_autoscaling_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

compute_snapshots_exceeding_max_age_days

Name
compute_snapshots_exceeding_max_age_days
Description
The maximum number of days Compute snapshots can be retained.
Type
number
Default
15

compute_snapshots_exceeding_max_age_default_action

Name
compute_snapshots_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_snapshot
Default
notify

compute_snapshots_exceeding_max_age_enabled_actions

Name
compute_snapshots_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
Default
[
"skip",
"delete_snapshot"
]

compute_snapshots_exceeding_max_age_trigger_enabled

Name
compute_snapshots_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

compute_snapshots_exceeding_max_age_trigger_schedule

Name
compute_snapshots_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

database

Name
database
Description
Steampipe database connection string.
Type
connection.steampipe
Default
connection.steampipe.default

dataproc_clusters_without_autoscaling_default_action

Name
dataproc_clusters_without_autoscaling_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_dataproc_cluster
Default
notify

dataproc_clusters_without_autoscaling_enabled_actions

Name
dataproc_clusters_without_autoscaling_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_dataproc_cluster
Default
[
"skip",
"delete_dataproc_cluster"
]

dataproc_clusters_without_autoscaling_trigger_enabled

Name
dataproc_clusters_without_autoscaling_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

dataproc_clusters_without_autoscaling_trigger_schedule

Name
dataproc_clusters_without_autoscaling_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

kubernetes_clusters_exceeding_max_age_days

Name
kubernetes_clusters_exceeding_max_age_days
Description
The maximum number of days Kubernetes clusters can be retained.
Type
number
Default
15

kubernetes_clusters_exceeding_max_age_default_action

Name
kubernetes_clusters_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_kubernetes_cluster
Default
notify

kubernetes_clusters_exceeding_max_age_enabled_actions

Name
kubernetes_clusters_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_kubernetes_cluster
Default
[
"skip",
"delete_kubernetes_cluster"
]

kubernetes_clusters_exceeding_max_age_trigger_enabled

Name
kubernetes_clusters_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

kubernetes_clusters_exceeding_max_age_trigger_schedule

Name
kubernetes_clusters_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

kubernetes_clusters_vertical_pod_autoscaling_disabled_default_action

Name
kubernetes_clusters_vertical_pod_autoscaling_disabled_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_kubernetes_cluster
Default
notify

kubernetes_clusters_vertical_pod_autoscaling_disabled_enabled_actions

Name
kubernetes_clusters_vertical_pod_autoscaling_disabled_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_kubernetes_cluster
Default
[
"skip",
"delete_kubernetes_cluster"
]

kubernetes_clusters_vertical_pod_autoscaling_disabled_trigger_enabled

Name
kubernetes_clusters_vertical_pod_autoscaling_disabled_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

kubernetes_clusters_vertical_pod_autoscaling_disabled_trigger_schedule

Name
kubernetes_clusters_vertical_pod_autoscaling_disabled_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

logging_bucket_max_retention_days

Name
logging_bucket_max_retention_days
Description
The maximum number of days a Logging Bucket retention period can be.
Type
number
Default
20

logging_buckets_with_high_retention_default_action

Name
logging_buckets_with_high_retention_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, update_retention
Default
notify

logging_buckets_with_high_retention_enabled_actions

Name
logging_buckets_with_high_retention_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, update_retention
Default
[
"skip",
"update_retention"
]

logging_buckets_with_high_retention_trigger_enabled

Name
logging_buckets_with_high_retention_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

logging_buckets_with_high_retention_trigger_schedule

Name
logging_buckets_with_high_retention_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

machine_type

Name
machine_type
Description
The machine type to downgrade to.
Type
string
Default
e2-micro

max_concurrency

Name
max_concurrency
Description
The maximum concurrency to use for responding to detection items.
Type
number
Default
1

notification_level

Name
notification_level
Description
The verbosity level of notification messages to send.
Type
string
info, verbose, error
Default
info

notifier

Name
notifier
Description
The notifier to use for sending notification messages.
Type
notifier
Default
notifier.default

redis_instances_exceeding_max_age_days

Name
redis_instances_exceeding_max_age_days
Description
The maximum number of days Redis instances can be retained.
Type
number
Default
15

redis_instances_exceeding_max_age_default_action

Name
redis_instances_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_redis_instance
Default
notify

redis_instances_exceeding_max_age_enabled_actions

Name
redis_instances_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_redis_instance
Default
[
"skip",
"delete_redis_instance"
]

redis_instances_exceeding_max_age_trigger_enabled

Name
redis_instances_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

redis_instances_exceeding_max_age_trigger_schedule

Name
redis_instances_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

retention_days

Name
retention_days
Description
The retention period in days to set for the Logging Buckets. Optional.
Type
string
Default
10

sql_db_instances_exceeding_max_age_days

Name
sql_db_instances_exceeding_max_age_days
Description
The maximum number of days SQL database instances can be retained.
Type
number
Default
15

sql_db_instances_exceeding_max_age_default_action

Name
sql_db_instances_exceeding_max_age_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_sql_db_instance
Default
notify

sql_db_instances_exceeding_max_age_enabled_actions

Name
sql_db_instances_exceeding_max_age_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_sql_db_instance
Default
[
"skip",
"delete_sql_db_instance"
]

sql_db_instances_exceeding_max_age_trigger_enabled

Name
sql_db_instances_exceeding_max_age_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

sql_db_instances_exceeding_max_age_trigger_schedule

Name
sql_db_instances_exceeding_max_age_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

sql_db_instances_with_low_connection_count_default_action

Name
sql_db_instances_with_low_connection_count_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_instance
Default
notify

sql_db_instances_with_low_connection_count_enabled_actions

Name
sql_db_instances_with_low_connection_count_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_instance
Default
[
"skip",
"delete_instance"
]

sql_db_instances_with_low_connection_count_trigger_enabled

Name
sql_db_instances_with_low_connection_count_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

sql_db_instances_with_low_connection_count_trigger_schedule

Name
sql_db_instances_with_low_connection_count_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

sql_db_instances_with_low_cpu_utilization_default_action

Name
sql_db_instances_with_low_cpu_utilization_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, stop_sql_instance, delete_instance
Default
notify

sql_db_instances_with_low_cpu_utilization_enabled_actions

Name
sql_db_instances_with_low_cpu_utilization_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, stop_sql_instance, delete_instance
Default
[
"skip",
"stop_sql_instance",
"delete_instance"
]

sql_db_instances_with_low_cpu_utilization_trigger_enabled

Name
sql_db_instances_with_low_cpu_utilization_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

sql_db_instances_with_low_cpu_utilization_trigger_schedule

Name
sql_db_instances_with_low_cpu_utilization_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

storage_buckets_without_lifecycle_policy_default_action

Name
storage_buckets_without_lifecycle_policy_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_storage_bucket, delete_all_objects_and_storage_bucket
Default
notify

storage_buckets_without_lifecycle_policy_enabled_actions

Name
storage_buckets_without_lifecycle_policy_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_storage_bucket, delete_all_objects_and_storage_bucket
Default
[
"skip",
"delete_storage_bucket",
"delete_all_objects_and_storage_bucket"
]

storage_buckets_without_lifecycle_policy_trigger_enabled

Name
storage_buckets_without_lifecycle_policy_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

storage_buckets_without_lifecycle_policy_trigger_schedule

Name
storage_buckets_without_lifecycle_policy_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m

vpn_gateways_with_no_tunnels_default_action

Name
vpn_gateways_with_no_tunnels_default_action
Description
The default action to use for the detected item, used if no input is provided.
Type
string
notify, skip, delete_vpn_gateway
Default
notify

vpn_gateways_with_no_tunnels_enabled_actions

Name
vpn_gateways_with_no_tunnels_enabled_actions
Description
The list of enabled actions to provide to approvers for selection.
Type
list(string)
skip, delete_vpn_gateway
Default
[
"skip",
"delete_vpn_gateway"
]

vpn_gateways_with_no_tunnels_trigger_enabled

Name
vpn_gateways_with_no_tunnels_trigger_enabled
Description
If true, the trigger is enabled.
Type
bool
Default
false

vpn_gateways_with_no_tunnels_trigger_schedule

Name
vpn_gateways_with_no_tunnels_trigger_schedule
Description
The schedule on which to run the trigger if enabled.
Type
string
Default
15m