Skip to main content

DigitalOcean Bucket - Terraform

Requirements

NameVersion
terraform>= 1.9
digitalocean~> 2.40

Providers

NameVersion
digitalocean~> 2.40

Modules

No modules.

Resources

NameType
digitalocean_spaces_bucket.thisresource
digitalocean_spaces_bucket_cors_configuration.thisresource

Inputs

NameDescriptionTypeDefaultRequired
aclThe access control list of the bucketstringn/ayes
cors_rulesThe CORS rules of the bucketlist(any)[]no
force_destroyA boolean flag to enable the force destroy optionboolfalseno
lifecycle_rulesThe lifecycle rules of the bucketlist(any)[]no
nameThe name of the bucketstringn/ayes
regionThe region of the bucketstringn/ayes
versioningA boolean flag to enable the versioning optionboolfalseno

Outputs

NameDescription
bucket_domain_nameThe domain name of the DigitalOcean Spaces Bucket
bucket_endpointThe endpoint of the DigitalOcean Spaces Bucket
bucket_idThe ID of the DigitalOcean Spaces Bucket
bucket_nameThe name of the DigitalOcean Spaces Bucket
bucket_urnThe URN of the DigitalOcean Spaces Bucket