Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Set export policy on flexcache resource #339

Open
valsharess opened this issue Nov 25, 2024 · 0 comments
Open

[Enhancement]: Set export policy on flexcache resource #339

valsharess opened this issue Nov 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@valsharess
Copy link

valsharess commented Nov 25, 2024

Description

Flexcache resources don't seem to support the ability to set an export policy on them, this is blocking us from migrating away from our ansible code to terraform at the moment, this is slightly tricky as it needs to be done after creation.

I note that this is supported on the volume resource and may want to be implemented in a similar manner.

Affected Resource(s) and/or Data Source(s)

  • netapp-ontap_storage_flexcache_resource

Potential Terraform Configuration

resource "netapp-ontap_storage_flexcache_resource" "storage_flexcache" {
   cx_profile_name = "fsx-apse2"
   name = "myvol"
   svm_name = "mysvm"
   origins = [
     {
       volume = {
         name = "origin-vol"
       },
       svm = {
         name = "origin-vserver"
       }
     }
   ]
   size = 50
   size_unit = "gb"
   junction_path = "/vol/myvol"
   export_policy = "nfs_readonly"
 }

References

No response

Would you like to implement a fix?

None

@valsharess valsharess added the enhancement New feature or request label Nov 25, 2024
@valsharess valsharess reopened this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant