aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/digitalocean/server/variables.tf
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-04 14:18:08 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-04 14:18:08 +0200
commit15b9dea7a95765f1f3c09fe0dcb2ea5b5cb669c1 (patch)
treec0c192e00c419ade1779ae62b3aed91bbb3e8778 /digitalocean/server/variables.tf
parentinitial commit (diff)
downloadinfra-terraform-15b9dea7a95765f1f3c09fe0dcb2ea5b5cb669c1.tar.gz
infra-terraform-15b9dea7a95765f1f3c09fe0dcb2ea5b5cb669c1.zip
import some common modulesv0.0.1
Diffstat (limited to '')
-rw-r--r--digitalocean/server/variables.tf40
1 files changed, 40 insertions, 0 deletions
diff --git a/digitalocean/server/variables.tf b/digitalocean/server/variables.tf
new file mode 100644
index 0000000..a3620fc
--- /dev/null
+++ b/digitalocean/server/variables.tf
@@ -0,0 +1,40 @@
+variable "region" {
+ type = string
+}
+variable "project_id" {
+ type = string
+}
+
+variable "name" {
+ type = string
+}
+variable "vpc_id" {
+ type = string
+}
+variable "ip_address" {
+ type = string
+}
+variable "volume_ids" {
+ type = list(string)
+ default = []
+}
+
+variable "user" {
+ type = string
+}
+variable "ssh_keys" {
+ type = list(string)
+}
+variable "ssh_port" {
+ type = string
+ default = "22"
+}
+
+variable "image" {
+ type = string
+ default = "debian-12-x64"
+}
+variable "size" {
+ type = string
+ default = "s-1vcpu-2gb"
+}