-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I've been trying to create multiple exports with multiple export options for a single File System but I haven't been able to make it work. Only one export option is created.
Below is my main file. Could you please tell me if I'm defining this wrong or this is a feature that needs to be added to the module?
module "oci_file_storage_service" {
source = "../"
providers = {
oci.custom_provider = oci
}
file_storage_config = {
default_compartment_id = "ocid1.compartment.oc1..aaaaaaaan4roedlm6bzqqo2wqvulsotxtfkudcksbzlde4r7s6j4vt2l7kvq"
default_defined_tags = {}
default_freeform_tags = null
default_ad = "2"
file_systems = {
fs_1 = {
ad = null
compartment_id = null
defined_tags = {}
freeform_tags = null
}
}
mount_targets = {
mt_1 = {
ad = null
subnet_id = "ocid1.subnet.oc1.iad.aaaaaaaauaqku73o5ioj7oznic4l6wfudp67ulrwjq5bwmpko7alahxjwvfa"
hostname_label = null
ip_address = null
compartment_id = null
defined_tags = {}
freeform_tags = null
export_set = {
max_fs_stat_bytes = null
max_fs_stat_files = null
}
file_systems = {
"fs_1" = {
path = "/mnt/test1"
export_option = "standard_export_options_1"
},
"fs_1" = {
path = "/mnt/test2"
export_option = "standard_export_options_2"
}
}
}
}
export_options = {
standard_export_options_1 = {
source = "100.100.179.224/28"
access = "READ_WRITE"
anonymous_gid = null
anonymous_uid = null
identity_squash = "NONE"
require_privileged_source_port = "false"
},
standard_export_options_2 = {
source = "0.0.0.0/0"
access = "READ_WRITE"
anonymous_gid = null
anonymous_uid = null
identity_squash = "NONE"
require_privileged_source_port = "false"
}
}
}
}
Thanks in advance,
Carlos
Metadata
Metadata
Assignees
Labels
No labels