Skip to content

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

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

Open
valsharess opened this issue Nov 25, 2024 · 1 comment
Open

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

valsharess opened this issue Nov 25, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

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
@suhasbshekar suhasbshekar moved this from Future to 2.2 in Terraform for ONTAP Roadmap Feb 12, 2025
@suhasbshekar suhasbshekar added this to the 2.2 milestone Feb 12, 2025
@suhasbshekar suhasbshekar moved this from 2.2 to 2.3.0 in Terraform for ONTAP Roadmap May 1, 2025
@suhasbshekar suhasbshekar modified the milestones: 2.2, 2.3.0 May 1, 2025
@csahu9
Copy link
Contributor

csahu9 commented May 16, 2025

@valsharess storage/flexcache/flexcaches API doesn't seem to have any parameter such as export policy.
could you please mention which REST attribute are you looking for?

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
Status: 2.3.0
Development

No branches or pull requests

3 participants