You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_compute_region_per_instance_config" {
source="./modules/google-beta/r/google_compute_region_per_instance_config"# minimal_action - (optional) is a type of stringminimal_action=null# most_disruptive_allowed_action - (optional) is a type of stringmost_disruptive_allowed_action=null# name - (required) is a type of stringname=null# project - (optional) is a type of stringproject=null# region - (optional) is a type of stringregion=null# region_instance_group_manager - (required) is a type of stringregion_instance_group_manager=null# remove_instance_state_on_destroy - (optional) is a type of boolremove_instance_state_on_destroy=nullpreserved_state=[{
disk = [{
delete_rule =null
device_name =null
mode =null
source =null
}]
metadata = {}
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"google_compute_region_per_instance_config""this" {
# minimal_action - (optional) is a type of stringminimal_action=var.minimal_action# most_disruptive_allowed_action - (optional) is a type of stringmost_disruptive_allowed_action=var.most_disruptive_allowed_action# name - (required) is a type of stringname=var.name# project - (optional) is a type of stringproject=var.project# region - (optional) is a type of stringregion=var.region# region_instance_group_manager - (required) is a type of stringregion_instance_group_manager=var.region_instance_group_manager# remove_instance_state_on_destroy - (optional) is a type of boolremove_instance_state_on_destroy=var.remove_instance_state_on_destroydynamic"preserved_state" {
for_each=var.preserved_statecontent {
# metadata - (optional) is a type of map of stringmetadata=preserved_state.value["metadata"]
dynamic"disk" {
for_each=preserved_state.value.diskcontent {
# delete_rule - (optional) is a type of stringdelete_rule=disk.value["delete_rule"]
# device_name - (required) is a type of stringdevice_name=disk.value["device_name"]
# mode - (optional) is a type of stringmode=disk.value["mode"]
# source - (required) is a type of stringsource=disk.value["source"]
}
}
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}