mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-19 04:44:42 -05:00
9667dfff58
* all vars have snail_case * make iam schema consistent * infrastructure schema * terraform: update AWS infrastructure module * fix ci * terraform: update AWS infrastructure module * terraform: update AWS IAM module * terraform: update Azure Infrastructure module inputs Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: update Azure IAM module Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: update GCP infrastructure module Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: update GCP IAM module Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: update OpenStack Infrastructure module Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: update QEMU Infrastructure module Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-module: fix input name Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: tidy * cli: ignore whitespace in Terraform variable tests * terraform-module: fix AWS output names * terraform-module: fix output references Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: rename `api_server_cert_sans` * Update terraform/infrastructure/aws/modules/public_private_subnet/variables.tf Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * fix self-managed * terraform: revert AWS modules output file renaming * terraform: remove duplicate varable declaration * terraform: rename Azure location field * ci: adjust output name in self-managed e2e test * e2e: continuously print output in upgrade test * e2e: write to output variables * cli: migrate IAM variable names * cli: make `location` field optional --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
85 lines
1.9 KiB
HCL
85 lines
1.9 KiB
HCL
variable "base_name" {
|
|
type = string
|
|
description = "Base name of the instance group."
|
|
}
|
|
|
|
variable "node_group_name" {
|
|
type = string
|
|
description = "Constellation name for the node group (used for configuration and CSP-independent naming)."
|
|
}
|
|
|
|
variable "role" {
|
|
type = string
|
|
description = "Role of the instance group."
|
|
validation {
|
|
condition = contains(["control-plane", "worker"], var.role)
|
|
error_message = "The role has to be 'control-plane' or 'worker'."
|
|
}
|
|
}
|
|
|
|
variable "uid" {
|
|
type = string
|
|
description = "Unique Identifier (UID) of the cluster."
|
|
}
|
|
|
|
variable "instance_type" {
|
|
type = string
|
|
description = "Instance type for the nodes."
|
|
}
|
|
|
|
variable "initial_count" {
|
|
type = number
|
|
description = "Number of instances in the instance group."
|
|
}
|
|
|
|
variable "image_id" {
|
|
type = string
|
|
description = "Amazon Machine Image (AMI) ID for the cluster's nodes."
|
|
}
|
|
|
|
variable "state_disk_type" {
|
|
type = string
|
|
description = "EBS disk type for the state disk of the nodes."
|
|
}
|
|
|
|
variable "state_disk_size" {
|
|
type = number
|
|
description = "Disk size for the state disk of the nodes [GB]."
|
|
}
|
|
|
|
variable "target_group_arns" {
|
|
type = list(string)
|
|
description = "ARN of the target group."
|
|
}
|
|
|
|
variable "subnetwork" {
|
|
type = string
|
|
description = "Name of the subnetwork to use."
|
|
}
|
|
|
|
variable "iam_instance_profile" {
|
|
type = string
|
|
description = "IAM instance profile for the nodes."
|
|
}
|
|
|
|
variable "security_groups" {
|
|
type = list(string)
|
|
description = "List of security group IDs for an instance."
|
|
}
|
|
|
|
variable "tags" {
|
|
type = map(string)
|
|
description = "Tags to add to the instance group."
|
|
}
|
|
|
|
variable "enable_snp" {
|
|
type = bool
|
|
default = true
|
|
description = "Enable AMD SEV-SNP for the instances."
|
|
}
|
|
|
|
variable "zone" {
|
|
type = string
|
|
description = "Zone to deploy the instance group in."
|
|
}
|