docs: document terraform support (#1037)

This commit is contained in:
3u13r 2023-01-23 10:37:28 +01:00 committed by GitHub
parent 2f2e793810
commit 03154c6e64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 1 deletions

View file

@ -1,6 +1,11 @@
variable "name" {
type = string
default = "constell"
description = "Name of your Constellation"
validation {
condition = length(var.name) < 10
error_message = "The name of the Constellation must be shorter than 10 characters"
}
}
variable "iam_instance_profile_worker_nodes" {
@ -20,11 +25,13 @@ variable "instance_type" {
variable "state_disk_type" {
type = string
default = "gp2"
description = "EBS disk type for the state disk of the nodes"
}
variable "state_disk_size" {
type = number
default = 30
description = "Disk size for the state disk of the nodes [GB]"
}
@ -41,6 +48,10 @@ variable "worker_count" {
variable "ami" {
type = string
description = "AMI ID"
validation {
condition = length(var.ami) > 4 && substr(var.ami, 0, 4) == "ami-"
error_message = "The image_id value must be a valid AMI id, starting with \"ami-\"."
}
}
variable "region" {
@ -55,5 +66,6 @@ variable "zone" {
variable "debug" {
type = bool
default = false
description = "Enable debug mode. This opens up a debugd port that can be used to deploy a custom bootstrapper."
}