terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

Documentation for oci_file_storage_export is incomplete

Open pezinek opened this issue 1 month ago • 1 comments

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

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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.

pezinek avatar May 31 '24 15:05 pezinek