Meet OPSd. The unique and effortless way of managing cloud infrastructure.
A Terraform module designed to provision an S3 bucket on DigitalOcean specifically tailored for storing Terraform state files.
module "tfstate_backend" {
source = "github.com/opsd-io/terraform-module-digitalocean-backend?ref=VERSION"
name = "terraform-backend-example2"
region = "nyc3"
}
IMPORTANT: Make sure not to pin to master because there may be breaking changes between releases.
Name | Version |
---|---|
terraform | >= 1.6.3 |
digitalocean | >= 2.37.1 |
Name | Version |
---|---|
digitalocean | >= 2.37.1 |
No modules.
Name | Type |
---|---|
digitalocean_spaces_bucket.state | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | The name of the bucket. | string |
n/a | yes |
noncurrent_version_expiration | Specifies the number of days after which an object's non-current versions expire. | number |
90 |
no |
region | The region where the resources resides. | string |
n/a | yes |
versioning | Enable bucket versioning. | bool |
true |
no |
Name | Description |
---|---|
backend_config | The backend configuration, which can be saved to backend.tf file. |
bucket_domain_name | The FQDN of the bucket. |
endpoint | The FQDN of the bucket without the bucket name. |
name | The name of the bucket. |
region | The region where the resources resides. |
urn | The uniform resource name of the bucket. |
Do you want to see how the module works? See all the usage examples.
The list of related modules (if present).
If you are interested in contributing to the project, see see our guide.
If you have a problem with the module or want to propose a new feature, you can report it via the project's (Github) issue tracker.
If you want to discuss something in person, you can join our community on Slack.