Skip to content

Repository to play with Digitalocean terraform resources

Notifications You must be signed in to change notification settings

alvarosaavedrau/digitalocean

Repository files navigation

Requirements

Name Version
terraform >= 1.9.5
digitalocean >= 2.45.0
local >= 2.5.2

Providers

Name Version
digitalocean 2.45.0
local 2.5.2

Modules

No modules.

Resources

Name Type
digitalocean_database_cluster.databases resource
digitalocean_droplet.droplet resource
digitalocean_kubernetes_cluster.k8s resource
digitalocean_kubernetes_node_pool.k8sNodePool resource
digitalocean_ssh_key.sshKey resource
local_file.kubeconfig resource
digitalocean_kubernetes_cluster.k8s data source

Inputs

Name Description Type Default Required
databases n/a
map(object({
engine = string
version = string
size = string
region = string
node_count = number
maintenance_day = string
maintenance_hour = string
storage_size_mib = number
}))
{} no
droplets n/a
map(object({
image = string
region = string
size = string
public_key_name = string
monitoring = bool
ipv6 = bool
resize_disk = bool
}))
{} no
k8s_clusters n/a
map(object({
region = string
version = string
auto_upgrade = bool
surge_upgrade = bool
high_availability = bool
maintenance_start_time = string
maintenance_day = string
size = string
node_count = number
auto_scale = bool
min_nodes = number
max_nodes = number
}))
{} no
k8s_clusters_node_pool n/a
map(object({
k8s_name = string
size = string
node_count = number
auto_scale = bool
min_nodes = number
max_nodes = number
}))
{} no
kubeconfig_path n/a string n/a yes
ssh_keys n/a
map(object({
public_key_path = string
}))
{} no

Outputs

Name Description
databases_host Databases host addresses
databases_password Databases password
databases_user Databases user
droplet_ipv4_addresses Droplet IPv4 addresses
droplet_sizes Droplet sizes
k8s_endpoints Kubernetes cluster endpoints

About

Repository to play with Digitalocean terraform resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages