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"oraclepaas_mysql_service_instance" {
source="./modules/oraclepaas/r/oraclepaas_mysql_service_instance"# availability_domain - (optional) is a type of stringavailability_domain=null# backup_destination - (optional) is a type of stringbackup_destination=null# description - (optional) is a type of stringdescription=null# ip_network - (optional) is a type of stringip_network=null# metering_frequency - (optional) is a type of stringmetering_frequency=null# name - (required) is a type of stringname=null# notification_email - (optional) is a type of stringnotification_email=null# region - (optional) is a type of stringregion=null# shape - (required) is a type of stringshape=null# ssh_public_key - (required) is a type of stringssh_public_key=null# subnet - (optional) is a type of stringsubnet=null# vm_user - (optional) is a type of stringvm_user=nullbackups=[{
cloud_storage_container =null
cloud_storage_password =null
cloud_storage_username =null
create_if_missing =null
}]
mysql_configuration=[{
connect_string =null
db_name =null
db_storage =null
enterprise_monitor_configuration = [{
em_agent_password =null
em_agent_username =null
em_password =null
em_port =null
em_username =null
}]
ip_address =null
mysql_charset =null
mysql_collation =null
mysql_password =null
mysql_port =null
mysql_username =null
public_ip_address =null
snapshot_name =null
source_service_name =null
}]
timeouts=[{
create =null
delete =null
}]
}
resource"oraclepaas_mysql_service_instance""this" {
# availability_domain - (optional) is a type of stringavailability_domain=var.availability_domain# backup_destination - (optional) is a type of stringbackup_destination=var.backup_destination# description - (optional) is a type of stringdescription=var.description# ip_network - (optional) is a type of stringip_network=var.ip_network# metering_frequency - (optional) is a type of stringmetering_frequency=var.metering_frequency# name - (required) is a type of stringname=var.name# notification_email - (optional) is a type of stringnotification_email=var.notification_email# region - (optional) is a type of stringregion=var.region# shape - (required) is a type of stringshape=var.shape# ssh_public_key - (required) is a type of stringssh_public_key=var.ssh_public_key# subnet - (optional) is a type of stringsubnet=var.subnet# vm_user - (optional) is a type of stringvm_user=var.vm_userdynamic"backups" {
for_each=var.backupscontent {
# cloud_storage_container - (required) is a type of stringcloud_storage_container=backups.value["cloud_storage_container"]
# cloud_storage_password - (optional) is a type of stringcloud_storage_password=backups.value["cloud_storage_password"]
# cloud_storage_username - (optional) is a type of stringcloud_storage_username=backups.value["cloud_storage_username"]
# create_if_missing - (optional) is a type of boolcreate_if_missing=backups.value["create_if_missing"]
}
}
dynamic"mysql_configuration" {
for_each=var.mysql_configurationcontent {
# db_name - (optional) is a type of stringdb_name=mysql_configuration.value["db_name"]
# db_storage - (optional) is a type of numberdb_storage=mysql_configuration.value["db_storage"]
# mysql_charset - (optional) is a type of stringmysql_charset=mysql_configuration.value["mysql_charset"]
# mysql_collation - (optional) is a type of stringmysql_collation=mysql_configuration.value["mysql_collation"]
# mysql_password - (optional) is a type of stringmysql_password=mysql_configuration.value["mysql_password"]
# mysql_port - (optional) is a type of numbermysql_port=mysql_configuration.value["mysql_port"]
# mysql_username - (optional) is a type of stringmysql_username=mysql_configuration.value["mysql_username"]
# snapshot_name - (optional) is a type of stringsnapshot_name=mysql_configuration.value["snapshot_name"]
# source_service_name - (optional) is a type of stringsource_service_name=mysql_configuration.value["source_service_name"]
dynamic"enterprise_monitor_configuration" {
for_each=mysql_configuration.value.enterprise_monitor_configurationcontent {
# em_agent_password - (optional) is a type of stringem_agent_password=enterprise_monitor_configuration.value["em_agent_password"]
# em_agent_username - (optional) is a type of stringem_agent_username=enterprise_monitor_configuration.value["em_agent_username"]
# em_password - (optional) is a type of stringem_password=enterprise_monitor_configuration.value["em_password"]
# em_port - (optional) is a type of numberem_port=enterprise_monitor_configuration.value["em_port"]
# em_username - (optional) is a type of stringem_username=enterprise_monitor_configuration.value["em_username"]
}
}
}
}
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"]
}
}
}