-
Notifications
You must be signed in to change notification settings - Fork 725
Open
Labels
Description
Terraform Version and Provider Version
Terraform v1.5.5
oracle/oci v6.35.0
Affected Resource(s)
oci_database_vm_cluster
Terraform Configuration Files
resource "oci_database_vm_cluster" "test_vm_cluster" {
#Required
compartment_id = var.compartment_id
cpu_core_count = var.vm_cluster_cpu_core_count
display_name = var.vm_cluster_display_name
exadata_infrastructure_id = var.exadata_infrastructure_id
gi_version = var.vm_cluster_gi_version
ssh_public_keys = var.vm_cluster_ssh_public_keys
vm_cluster_network_id = var.vm_cluster_network_id
#Optional
data_collection_options {
#Optional
is_diagnostics_events_enabled = var.is_diagnostics_events_enabled
is_health_monitoring_enabled = var.is_health_monitoring_enabled
is_incident_logs_enabled = var.is_incident_logs_enabled
}
data_storage_size_in_tbs = var.data_storage_size_in_tbs
db_node_storage_size_in_gbs = var.db_node_storage_size_in_gbs
db_servers = var.db_servers
defined_tags = merge(var.defined_tags, var.custom_tags)
dynamic "file_system_configuration_details" {
for_each = var.file_system_configuration_details
content {
file_system_size_gb = file_system_configuration_details.value.file_system_size_gb
mount_point = file_system_configuration_details.value.mount_point
}
}
freeform_tags = var.freeform_tags
is_local_backup_enabled = var.is_local_backup_enabled
is_sparse_diskgroup_enabled = var.is_sparse_diskgroup_enabled
license_model = var.license_model
memory_size_in_gbs = var.memory_size_in_gbs
system_version = var.system_version
timeouts {
create = "12h"
// update = "2h"
// delete = "3h"
}
time_zone = var.time_zone
}
Expected Behaviour:
Creates an ExaCC cluster along with the file_system_configuration_details
Actual Behaviour:
ExaCC cluster gets created without file_system_configuration_details. When we run a plan after the cluster creation, the drift shows up for the file_system_configuration_details and gets applied when terraform apply is run.