Use this resource to create a Nexus Azure blobstore.
resource "nexus_blobstore_azure" "example" {
name = "example"
bucket_configuration {
account_name = "example-account-name"
authentication {
authentication_method = "ACCOUNTKEY"
account_key = "example-account-key"
}
container_name = "example-container-name"
}
soft_quota {
limit = 1024
type = "spaceRemainingQuota"
}
}
bucket_configuration
(Block List, Min: 1, Max: 1) The Azure specific configuration details for the Azure object that'll contain the blob store (see below for nested schema)name
(String) Blobstore namesoft_quota
(Block List, Max: 1) Soft quota of the blobstore (see below for nested schema)blob_count
(Number) Count of blobsid
(String) Used to identify resource at nexustotal_size_in_bytes
(Number) The total size of the blobstore in Bytesbucket_configuration
Required:
account_name
(String) Account name found under Access keys for the storage accountauthentication
(Block List, Min: 1, Max: 1) The Azure specific authentication details (see below for nested schema)container_name
(String) The name of an existing container to be used for storagebucket_configuration.authentication
Required:
authentication_method
(String) The type of Azure authentication to use. Possible values: ACCOUNTKEY
and MANAGEDIDENTITY
Optional:
account_key
(String) The account key. Required if authentication_method
is ACCOUNTKEY
soft_quota
Required:
limit
(Number) The limit in Bytes. Minimum value is 1000000type
(String) The type to use such as spaceRemainingQuota, or spaceUsedQuota
Import is supported using the following syntax:
# import using the name of blobstore
terraform import nexus_blobstore_azure.example example