Skip to content

Instantly share code, notes, and snippets.

@sergeykuzmich
Last active February 13, 2019 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeykuzmich/277da253ab62fd48d3d3b060897e12fc to your computer and use it in GitHub Desktop.
Save sergeykuzmich/277da253ab62fd48d3d3b060897e12fc to your computer and use it in GitHub Desktop.
DigitalOcean Terraform module variables & outputs definition
output "price_monthly" {
value = "${digitalocean_droplet.default.price_monthly}"
}
output "ipv4_address" {
value = "${digitalocean_droplet.default.ipv4_address}"
}
variable "domain" {
description = "Domain name the service should be located on"
}
variable "droplet_name" {
description = "Droplet name in DigitalOcean Control Panel"
}
variable "droplet_region" {
description = "Datacenter region"
default = "nyc1"
}
variable "droplet_size" {
description = "Droplet size"
default = "512mb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment