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]: Add access_based_enumeration argument to share resource #259

Open
pgsmith123 opened this issue Aug 2, 2024 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@pgsmith123
Copy link

Description

Add the ability to enable ABE on the share resource

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

netapp-ontap_protocols_cifs_share_resource

Potential Terraform Configuration

resource "netapp-ontap_protocols_cifs_share_resource" "share" {
  count = var.nas_type == "smb" ? 1 : 0
  cx_profile_name = var.storage_tier
  name = var.smb_hidden == true ? "${var.share_name}$" : var.share_name
  path = netapp-ontap_storage_volume_resource.volume.nas.junction_path
  svm_name = local.svm_name
  encryption = var.smb_encryption
  access_based_enumeration = true
  acls = [{
        "permission": "full_control",
        "type": "windows",
        "user_or_group": "user@domain"
    },
    {
        "permission": "change",
        "type": "windows",
        "user_or_group": "group@domain"
    },
    {
        "permission": "full_control",
        "type": "windows",
        "user_or_group": "Everyone"
    }]
}

References

No response

Would you like to implement a fix?

None

@pgsmith123 pgsmith123 added the enhancement New feature or request label Aug 2, 2024
@carchi8py carchi8py moved this from Future to 2.1 in Terraform for ONTAP Roadmap Aug 7, 2024
@carchi8py carchi8py added this to the 2.1 milestone Aug 7, 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
Status: 2.1
Development

No branches or pull requests

2 participants