DigitalOcean Bucket - Terraform
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.9 |
| digitalocean | ~> 2.40 |
Providers
| Name | Version |
|---|---|
| digitalocean | ~> 2.40 |
Modules
No modules.
Resources
| Name | Type |
|---|---|
| digitalocean_spaces_bucket.this | resource |
| digitalocean_spaces_bucket_cors_configuration.this | resource |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| acl | The access control list of the bucket | string | n/a | yes |
| cors_rules | The CORS rules of the bucket | list(any) | [] | no |
| force_destroy | A boolean flag to enable the force destroy option | bool | false | no |
| lifecycle_rules | The lifecycle rules of the bucket | list(any) | [] | no |
| name | The name of the bucket | string | n/a | yes |
| region | The region of the bucket | string | n/a | yes |
| versioning | A boolean flag to enable the versioning option | bool | false | no |
Outputs
| Name | Description |
|---|---|
| bucket_domain_name | The domain name of the DigitalOcean Spaces Bucket |
| bucket_endpoint | The endpoint of the DigitalOcean Spaces Bucket |
| bucket_id | The ID of the DigitalOcean Spaces Bucket |
| bucket_name | The name of the DigitalOcean Spaces Bucket |
| bucket_urn | The URN of the DigitalOcean Spaces Bucket |