Resource nexus_blobstore_s3

Use this resource to create a Nexus S3 blobstore.

Example Usage

resource "nexus_blobstore_s3" "aws" {
  name = "blobstore-s3"

  bucket_configuration {
    bucket {
      name   = "aws-bucket-name"
      region = "us-central-1"
    }

    bucket_security {
      access_key_id     = "<your-aws-access-key-id>"
      secret_access_key = "<your-aws-secret-access-key>"
    }
  }

  soft_quota {
    limit = 1024
    type  = "spaceRemainingQuota"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for bucket_configuration

Required:

Optional:

Nested Schema for bucket_configuration.bucket

Required:

Optional:

Nested Schema for bucket_configuration.advanced_bucket_connection

Optional:

Nested Schema for bucket_configuration.bucket_security

Optional:

Nested Schema for bucket_configuration.encryption

Optional:

Nested Schema for soft_quota

Required:

Import is supported using the following syntax:

# import using the name of blobstore
terraform import nexus_blobstore_s3.aws blobstore-s3