mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-17 05:32:22 -04:00
docs: document terraform support (#1037)
This commit is contained in:
parent
2f2e793810
commit
03154c6e64
4 changed files with 79 additions and 1 deletions
|
@ -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."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue