Use this resource to create and execute a custom script.
resource "nexus_script" "repo_pypi_internal" {
name = "create-repo-pypi-internal"
type = "groovy"
content = "repository.createPyPiHosted('pypi-internal')"
}
content
(String) The content of this script.name
(String) The name of the script.type
(String) The type of the script. Default: groovy
Import is supported using the following syntax:
# import using the name of script
terraform import nexus_script.repo_pypi_internal create-repo-pypi-internal