forked from oracle-quickstart/oci-arch-tomcat-mds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmds.tf
More file actions
17 lines (16 loc) · 1.12 KB
/
mds.tf
File metadata and controls
17 lines (16 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Copyright © 2020, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
resource "oci_mysql_mysql_db_system" "mds01_mysql_db_system" {
admin_password = var.mysql_db_system_admin_password
admin_username = var.mysql_db_system_admin_username
availability_domain = data.oci_identity_availability_domains.ADs.availability_domains[0]["name"]
compartment_id = var.compartment_ocid
configuration_id = data.oci_mysql_mysql_configurations.mds_mysql_configurations.configurations[0].id
shape_name = data.oci_mysql_mysql_configurations.mds_mysql_configurations.configurations[0].shape_name
subnet_id = oci_core_subnet.vcn01_subnet_db01.id
data_storage_size_in_gb = var.mysql_db_system_data_storage_size_in_gb
display_name = var.mysql_db_system_display_name
hostname_label = var.mysql_db_system_hostname_label
is_highly_available = var.mysql_is_highly_available
defined_tags = {"${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
}