oracle / terraform-provider-oci

Terraform Oracle Cloud Infrastructure provider
https://www.terraform.io/docs/providers/oci/
Mozilla Public License 2.0
759 stars 681 forks source link

Documentation for oci_file_storage_export is incomplete #2130

Open pezinek opened 5 months ago

pezinek commented 5 months ago

The documentation for oci_file_storage_export doesn't contain info what are the alowed values for export_options.access. It only mentions the default is READ_WRITE but doesn't mention how to for example disable write access. This is inconvenient as people need to use the trial an error approach to figure out what the other allowed options are.

see: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/file_storage_export

Community Note

Terraform Version and Provider Version

OpenTofu v1.6.2 provider registry.opentofu.org/oracle/oci v5.44.0

Affected Resource(s)

oci_file_storage_export

Expected Behavior

the documentation contains all the information you need when writing the terraform plan

Actual Behavior

I needed to use guesswork to figure out that "READ_ONLY" is the other allowed option.

tf-oci-pub commented 5 months ago

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.