{"id":20655047,"url":"https://github.com/devops-ia/terraform-nexus-blobstore","last_synced_at":"2025-03-09T22:10:07.227Z","repository":{"id":252038586,"uuid":"759741865","full_name":"devops-ia/terraform-nexus-blobstore","owner":"devops-ia","description":"Terraform module for create Nexus Blobstore","archived":false,"fork":false,"pushed_at":"2025-03-04T09:02:40.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T10:20:24.181Z","etag":null,"topics":["nexus","nexus-blobstore","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/devops-ia/blobstore/nexus","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devops-ia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-19T08:50:51.000Z","updated_at":"2025-03-04T09:02:36.000Z","dependencies_parsed_at":"2025-01-17T11:12:43.673Z","dependency_job_id":"50e6bc34-d244-41d3-a1fd-943639500e93","html_url":"https://github.com/devops-ia/terraform-nexus-blobstore","commit_stats":null,"previous_names":["devops-ia/terraform-nexus-blobstore"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ia%2Fterraform-nexus-blobstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ia%2Fterraform-nexus-blobstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ia%2Fterraform-nexus-blobstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-ia%2Fterraform-nexus-blobstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-ia","download_url":"https://codeload.github.com/devops-ia/terraform-nexus-blobstore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242756869,"owners_count":20180206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nexus","nexus-blobstore","terraform","terraform-module"],"created_at":"2024-11-16T18:08:40.325Z","updated_at":"2025-03-09T22:10:07.207Z","avatar_url":"https://github.com/devops-ia.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus Blobstore\n\nThis module allows you to create **Nexus Blobstore as a global resource** and **individual Nexus Blobstore resources.** For individual examples, see the usage snippets and [examples](https://github.com/devops-ia/terraform-nexus-blobstore/tree/main/examples).\n\n## Provider\nYou need use a [Nexus provider](https://registry.terraform.io/providers/datadrivers/nexus/latest/docs).\n```hcl\nprovider \"nexus\" {\n  insecure = true\n  password = \"admin123\"\n  url      = \"https://127.0.0.1:8080\"\n  username = \"admin\"\n}\n```\n\n## Root module usage\n\n`nexus-blobstore`:\n\n```hcl\nmodule \"nexus_blobstore\" {\n  source  = \"devops-ia/blobstore/nexus\"\n\n  nexus_blobstore_azure = [\n    {\n      name = \"my-azure-blobstore\"\n\n      bucket_configuration = {\n        account_name = \"example-account-name\"\n        authentication = {\n          authentication_method = \"ACCOUNTKEY\"\n          account_key           = \"example-account-key\"\n        }\n        container_name = \"example-container-name\"\n      }\n\n      soft_quota = {\n        limit = 1000000\n        type  = \"spaceRemainingQuota\"\n      }\n    }\n  ]\n\n  nexus_blobstore_file = [\n    {\n      name = \"blobstore-file\"\n      path = \"/nexus-data/blobstore-file\"\n\n      soft_quota = {\n        limit = 1024000000\n        type  = \"spaceRemainingQuota\"\n      }\n    },\n  ]\n\n  nexus_blobstore_group = [\n    {\n      name        = \"group-example\"\n      fill_policy = \"roundRobin\"\n      members = [\n        \"one\"\n      ]\n      soft_quota = {\n        limit = 1024000000\n        type  = \"spaceRemainingQuota\"\n      }\n    }\n  ]\n\n  nexus_blobstore_s3 = [\n    {\n      name = \"blobstore-s3\"\n\n      bucket_configuration = {\n        bucket = {\n          name       = \"aws-bucket-name\"\n          region     = \"us-central-1\"\n          expiration = -1\n        }\n\n        bucket_security = {\n          access_key_id     = \"my-key-id\"\n          secret_access_key = \"my-access-key\"\n        }\n      }\n\n      soft_quota = {\n        limit = 100000\n        type  = \"spaceRemainingQuota\"\n      }\n    }\n  ]\n}\n```\n\n## Individual module usage\n\n`nexus-blobstore-azure`:\n\n```hcl\nmodule \"nexus_blobstore_azure\" {\n  source  = \"devops-ia/blobstore/nexus//modules/nexus_blobstore_azure\"\n\n  name = \"my-azure-blobstore\"\n\n  bucket_configuration = {\n    account_name = \"example-account-name\"\n    authentication = {\n      authentication_method = \"ACCOUNTKEY\"\n      account_key           = \"example-account-key\"\n    }\n    container_name = \"example-container-name\"\n  }\n\n  soft_quota = {\n    limit = 1000000\n    type  = \"spaceRemainingQuota\"\n  }\n}\n```\n\n`nexus-blobstore-file`:\n\n```hcl\nmodule \"nexus_blobstore_azure\" {\n  source  = \"devops-ia/blobstore/nexus//modules/nexus_blobstore_file\"\n\n  name = \"blobstore-file\"\n  path = \"/nexus-data/blobstore-file\"\n\n  soft_quota = {\n    limit = 1024000000\n    type  = \"spaceRemainingQuota\"\n  }\n}\n```\n\n`nexus-blobstore-group`:\n\n```hcl\nmodule \"nexus_blobstore_azure\" {\n  source  = \"devops-ia/blobstore/nexus//modules/nexus_blobstore_group\"\n\n  name        = \"group-example\"\n  fill_policy = \"roundRobin\"\n  members = [\n    nexus_blobstore_file.one.name,\n    nexus_blobstore_file.two.name\n  ]\n}\n```\n\n`nexus-blobstore-s3`:\n\n```hcl\nmodule \"nexus_blobstore_azure\" {\n  source  = \"devops-ia/blobstore/nexus//modules/nexus_blobstore_s3\"\n\n  name = \"blobstore-s3\"\n\n  bucket_configuration = {\n    bucket = {\n      name   = \"aws-bucket-name\"\n      region = \"us-central-1\"\n    }\n\n    bucket_security = {\n      access_key_id     = \"\u003cyour-aws-access-key-id\u003e\"\n      secret_access_key = \"\u003cyour-aws-secret-access-key\u003e\"\n    }\n  }\n\n  soft_quota = {\n    limit = 1024000000\n    type  = \"spaceRemainingQuota\"\n  }\n}\n```\n\n## Terraform Docs\n\n### Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.3.0 |\n| \u003ca name=\"requirement_nexus\"\u003e\u003c/a\u003e [nexus](#requirement\\_nexus) | \u003e= 2.0.0 |\n\n### Providers\n\nNo providers.\n\n### Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_nexus_blobstore_azure\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_azure](#module\\_nexus\\_blobstore\\_azure) | ./modules/nexus-blobstore-azure | n/a |\n| \u003ca name=\"module_nexus_blobstore_file\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_file](#module\\_nexus\\_blobstore\\_file) | ./modules/nexus-blobstore-file | n/a |\n| \u003ca name=\"module_nexus_blobstore_group\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_group](#module\\_nexus\\_blobstore\\_group) | ./modules/nexus-blobstore-group | n/a |\n| \u003ca name=\"module_nexus_blobstore_s3\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_s3](#module\\_nexus\\_blobstore\\_s3) | ./modules/nexus-blobstore-s3 | n/a |\n\n### Resources\n\nNo resources.\n\n### Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_nexus_blobstore_azure\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_azure](#input\\_nexus\\_blobstore\\_azure) | Blobstore Azure. | \u003cpre\u003elist(object({\u003cbr\u003e    name = string\u003cbr\u003e    bucket_configuration = object({\u003cbr\u003e      account_name   = string\u003cbr\u003e      container_name = string\u003cbr\u003e      authentication = object({\u003cbr\u003e        authentication_method = string\u003cbr\u003e        account_key           = optional(string)\u003cbr\u003e      })\u003cbr\u003e    })\u003cbr\u003e    soft_quota = optional(object({\u003cbr\u003e      limit = optional(number)\u003cbr\u003e      type  = optional(string)\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_nexus_blobstore_file\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_file](#input\\_nexus\\_blobstore\\_file) | Blobstore File. | \u003cpre\u003elist(object({\u003cbr\u003e    name = string\u003cbr\u003e    path = string\u003cbr\u003e    soft_quota = object({\u003cbr\u003e      limit = optional(number)\u003cbr\u003e      type  = optional(string)\u003cbr\u003e    })\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_nexus_blobstore_group\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_group](#input\\_nexus\\_blobstore\\_group) | Blobstore Group. | \u003cpre\u003elist(object({\u003cbr\u003e    name        = string\u003cbr\u003e    fill_policy = string\u003cbr\u003e    members     = set(string)\u003cbr\u003e    soft_quota = object({\u003cbr\u003e      limit = optional(number)\u003cbr\u003e      type  = optional(string)\u003cbr\u003e    })\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_nexus_blobstore_s3\"\u003e\u003c/a\u003e [nexus\\_blobstore\\_s3](#input\\_nexus\\_blobstore\\_s3) | Blobstore S3. | \u003cpre\u003elist(object({\u003cbr\u003e    name = string\u003cbr\u003e    bucket_configuration = object({\u003cbr\u003e      bucket = object({\u003cbr\u003e        name       = string\u003cbr\u003e        region     = string\u003cbr\u003e        expiration = number\u003cbr\u003e        prefix     = optional(string, null)\u003cbr\u003e      })\u003cbr\u003e      bucket_security = optional(object({\u003cbr\u003e        access_key_id     = optional(string, null)\u003cbr\u003e        role              = optional(string, null)\u003cbr\u003e        secret_access_key = optional(string, null)\u003cbr\u003e        session_token     = optional(string, null)\u003cbr\u003e      }))\u003cbr\u003e      encryption = optional(object({\u003cbr\u003e        encryption_key  = optional(string, null)\u003cbr\u003e        encryption_type = optional(string, null)\u003cbr\u003e      }))\u003cbr\u003e      advanced_bucket_connection = optional(object({\u003cbr\u003e        endpoint                 = optional(string, null)\u003cbr\u003e        force_path_style         = optional(bool, null)\u003cbr\u003e        max_connection_pool_size = optional(number, null)\u003cbr\u003e        signer_type              = optional(string, null)\u003cbr\u003e      }))\u003cbr\u003e    })\u003cbr\u003e    soft_quota = object({\u003cbr\u003e      limit = optional(number)\u003cbr\u003e      type  = optional(string)\u003cbr\u003e    })\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n\n### Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_blobstore_azure_name\"\u003e\u003c/a\u003e [blobstore\\_azure\\_name](#output\\_blobstore\\_azure\\_name) | The name of the blobstore azure. |\n| \u003ca name=\"output_blobstore_file_name\"\u003e\u003c/a\u003e [blobstore\\_file\\_name](#output\\_blobstore\\_file\\_name) | The name of the blobstore file. |\n| \u003ca name=\"output_blobstore_group_name\"\u003e\u003c/a\u003e [blobstore\\_group\\_name](#output\\_blobstore\\_group\\_name) | The name of the blobstore group. |\n| \u003ca name=\"output_blobstore_s3_name\"\u003e\u003c/a\u003e [blobstore\\_s3\\_name](#output\\_blobstore\\_s3\\_name) | The name of the blobstore s3. |\n\n## Authors\n\nModule is maintained by [DevOps IA](https://github.com/devops-ia) with help from [these awesome contributors](https://github.com/devops-ia/terraform-nexus-blobstore/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-ia%2Fterraform-nexus-blobstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-ia%2Fterraform-nexus-blobstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-ia%2Fterraform-nexus-blobstore/lists"}