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"digitalocean_database_cluster" {
source="./modules/digitalocean/r/digitalocean_database_cluster"# engine - (required) is a type of stringengine=null# eviction_policy - (optional) is a type of stringeviction_policy=null# name - (required) is a type of stringname=null# node_count - (required) is a type of numbernode_count=null# private_network_uuid - (optional) is a type of stringprivate_network_uuid=null# region - (required) is a type of stringregion=null# size - (required) is a type of stringsize=null# sql_mode - (optional) is a type of stringsql_mode=null# tags - (optional) is a type of set of stringtags=[]
# version - (optional) is a type of stringversion=nullmaintenance_window=[{
day =null
hour =null
}]
}
resource"digitalocean_database_cluster""this" {
# engine - (required) is a type of stringengine=var.engine# eviction_policy - (optional) is a type of stringeviction_policy=var.eviction_policy# name - (required) is a type of stringname=var.name# node_count - (required) is a type of numbernode_count=var.node_count# private_network_uuid - (optional) is a type of stringprivate_network_uuid=var.private_network_uuid# region - (required) is a type of stringregion=var.region# size - (required) is a type of stringsize=var.size# sql_mode - (optional) is a type of stringsql_mode=var.sql_mode# tags - (optional) is a type of set of stringtags=var.tags# version - (optional) is a type of stringversion=var.versiondynamic"maintenance_window" {
for_each=var.maintenance_windowcontent {
# day - (required) is a type of stringday=maintenance_window.value["day"]
# hour - (required) is a type of stringhour=maintenance_window.value["hour"]
}
}
}