This repository has been archived on 2022-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
mmp-osp1/terraform/linode/vars.tf
Oscar Pocock 0cb40572af
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added cleaned terraform files for Linode
2022-04-28 21:39:56 +01:00

43 lines
800 B
HCL

# Token variable definition
variable "linode_token" {}
# Root password variable defintion
variable "root_pass" {}
# SSH Public key variable definition
variable "authorized_keys" {
type = list(string)
}
# Name variable definition
variable "name" {
default = "ml"
}
# Environment variable definition
variable "env" {
default = "dev"
}
# Defining a variable source OS image for an instance
variable "image" {
default = "linode/debian11"
}
# Definition of an instance type variable depending on the choice of tariff
variable "server_type" {
# default = "g1-gpu-rtx6000-1"
default = "g6-dedicated-32"
}
# Definition of the region in which the instance will be created
variable "region" {
default = "eu-central"
}
# LOCALS
# Server name
locals {
name = "${var.name}-${var.env}"
}