This module allows you to create Nexus Script as a global resource and individual Nexus Script resources. For individual examples, see the usage snippets and examples.
You need use a Nexus provider.
provider "nexus" {
insecure = true
password = "admin123"
url = "https://127.0.0.1:8080"
username = "admin"
}
nexus-script
:
module "nexus_script" {
source = "devops-ia/script/nexus/"
nexus_script = [
{
name = "create-repo-pypi-internal"
type = "groovy"
content = "repository.createPyPiHosted('pypi-internal')"
}
]
}
nexus-script
:
module "nexus_script" {
source = "devops-ia/script/nexus//modules/nexus-script"
name = "create-repo-pypi-internal"
type = "groovy"
content = "repository.createPyPiHosted('pypi-internal')"
}
Name | Version |
---|---|
terraform | >= 1.3.0 |
nexus | >= 2.0.0 |
No providers.
Name | Source | Version |
---|---|---|
nexus_script | ./modules/nexus-script | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
nexus_script | value | list(object({ |
[] |
no |
Name | Description |
---|---|
script_name | The name of the script. |
Module is maintained by DevOps IA with help from these awesome contributors.