Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Created April 24, 2020 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sw-samuraj/dbf9ef1330c429ec0af6b09e51fc68eb to your computer and use it in GitHub Desktop.
Save sw-samuraj/dbf9ef1330c429ec0af6b09e51fc68eb to your computer and use it in GitHub Desktop.
## This configuration was generated by terraform-provider-oci
resource oci_bds_bds_instance export_tf-bds-example {
#cluster_admin_password = <<Required attribute not found in discovery>>
#cluster_public_key = <<Required attribute not found in discovery>>
cluster_version = "CDH6"
compartment_id = "${var.compartment_ocid}"
defined_tags = {}
display_name = "tf-bds-example"
freeform_tags = {
"created-by" = "Vít Kotačka"
"purpose" = "An example BDS instance created by Terraform."
}
is_cloud_sql_configured = "false"
is_high_availability = "false"
is_secure = "false"
master_node {
block_volume_size_in_gbs = "150"
number_of_nodes = "1"
shape = "VM.Standard2.4"
subnet_id = "ocid1.subnet.oc1.iad.aaaaaaaacb7rucoodgxp75b7srwgni2kkykutpugzwhdcesw76iwxcfruoya"
}
network_config {
cidr_block = "10.0.0.0/16"
is_nat_gateway_required = "false"
}
util_node {
block_volume_size_in_gbs = "150"
number_of_nodes = "1"
shape = "VM.Standard2.4"
subnet_id = "ocid1.subnet.oc1.iad.aaaaaaaacb7rucoodgxp75b7srwgni2kkykutpugzwhdcesw76iwxcfruoya"
}
worker_node {
block_volume_size_in_gbs = "150"
number_of_nodes = "3"
shape = "VM.Standard2.1"
subnet_id = "ocid1.subnet.oc1.iad.aaaaaaaacb7rucoodgxp75b7srwgni2kkykutpugzwhdcesw76iwxcfruoya"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment