Use this resource to manage a privilege for a repository view
resource "nexus_repository_helm_hosted" "example" {
name = "example_repository"
online = true
storage {
blob_store_name = "default"
strict_content_type_validation = false
write_policy = "ALLOW"
}
}
resource "nexus_privilege_repository_view" "example" {
name = "example_privilege"
description = "description"
actions = ["ADD", "READ", "DELETE", "BROWSE", "EDIT"]
repository = resource.nexus_repository_helm_hosted.example.name
format = "helm"
}
actions
(List of String) A list of allowed actions. For a list of applicable values see https://help.sonatype.com/repomanager3/nexus-repository-administration/access-control/privileges#Privileges-PrivilegeTypesformat
(String) The format of the referenced Repositoryname
(String) The name of the privilege. This value cannot be changed.repository
(String) Name of the repository the privilege applies todescription
(String) A descriptionImport is supported using the following syntax:
# import using the name of the privilege
terraform import nexus_privilege_repository_view.example name