database-cluster

devdynamicio/database-cluster/digitalocean

Terraform Module HCL DIGITALOCEAN

Terraform module for create DigitalOcean database cluster resource πŸ‡ΊπŸ‡¦

Install
module "database-cluster" {
source = "devdynamicio/database-cluster/digitalocean"
version = "1.0.0"
}
plain text: /constructs/tfmod-devdynamicio-database-cluster-digitalocean/install.txt
⭐ Source on GitHub πŸ“¦ Registry page
README

Digitalocean Database cluster Terraform module Terraform Module for create DigitalOcean Database service. ![SWUbanner](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) Requirements This module requires Terraform version 0.13.0 or newer. Examples ``hcl module "do_redis" { source = "../../" name = "do-redis" engine = "redis" database_version = 6 region = "fra1" node_count = 1 } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.0 | | digitalocean | >= 2.19.0 | Providers | Name | Version | |------|---------| | digitalocean | >= 2.19.0 | Modules No modules. Resources | Name | Type | |------|------| | digitalocean_database_cluster.this | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:-

Inputs (11)
NameTypeDescriptionDefault
enginestringDatabase engine used by the cluster (ex. pg for PostreSQL, mysql for MySQL, redi required
node_countnumberNumber of nodes that will be included in the cluster. required
private_network_uuidstringThe ID of the VPC where the database cluster will be located. required
namestringThe name of the database cluster. required
regionstringDigitalOcean region where the cluster will reside. required
database_versionnumberEngine version used by the cluster (ex. 11 for PostgreSQL 11). required
eviction_policystringA string specifying the eviction policy for a Redis cluster. Valid values are: n required
sql_modestringA comma separated string specifying the SQL modes for a MySQL cluster. required
maintenance_windowobject({ day = string Defines when the automatic maintenance should be performed for the database clus{ "day": "tuesday", "hour": "01:00:0
sizestringDatabase Droplet size associated with the cluster (ex. db-s-1vcpu-1gb)."db-s-1vcpu-1gb"
tagslist(string)A list of tag names to be applied to the database cluster.[]
Outputs (10)
user β€” Username for the cluster's default user.
password β€” Password for the cluster's default user.
private_host β€” Same as host, but only accessible from resources within the account and in the same region.
database β€” Name of the cluster's default database.
host β€” Database cluster's hostname.
port β€” Network port that the database cluster is listening on.
uri β€” The full URI for connecting to the database cluster.
private_uri β€” Same as uri, but only accessible from resources within the account and in the same region.
id β€” The ID of the database cluster.
urn β€” The uniform resource name of the database cluster.
Resources (1)
digitalocean_database_cluster
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud DIGITALOCEAN
β˜… Stars0
Forks0
Total downloads382
Inputs11
Outputs10
Resources1
Examples2
LicenseApache-2.0
Namespacedevdynamicio
Updated