mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 02:55:33 -05:00
![Nils Hanke](/assets/img/avatar_default.png)
* Add .DS_Store to .gitignore * Add AWS to config / supported instance types * Move AWS terraform skeleton to cli/internal/terraform * Move currently unused IAM to hack/terraform/aws * Print supported AWS instance types when AWS dev flag is set * Block everything aTLS related (e.g. init, verify) until AWS attestation is available * Create/Terminate AWS dev cluster when dev flag is set * Restrict Nitro instances to NitroTPM supported specifically * Pin zone for subnets This is not great for HA, but for now we need to avoid the two subnets ending up in different zones, causing the load balancer to not be able to connect to the targets. Should be replaced later with a better implementation that just uses multiple subnets within the same region dynamically based on # of nodes or similar. * Add AWS/GCP to Terraform TestLoader unit test * Add uid tag and create log group Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Malte Poll <mp@edgeless.systems>
60 lines
1.3 KiB
HCL
60 lines
1.3 KiB
HCL
variable "name" {
|
|
type = string
|
|
description = "Name of your Constellation"
|
|
}
|
|
|
|
variable "iam_instance_profile_worker_nodes" {
|
|
type = string
|
|
description = "Name of the IAM instance profile for worker nodes"
|
|
}
|
|
|
|
variable "iam_instance_profile_control_plane" {
|
|
type = string
|
|
description = "Name of the IAM instance profile for control plane nodes"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
type = string
|
|
description = "Instance type for worker 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 "control_plane_count" {
|
|
type = number
|
|
description = "Number of control plane nodes"
|
|
}
|
|
|
|
variable "worker_count" {
|
|
type = number
|
|
description = "Number of worker nodes"
|
|
}
|
|
|
|
variable "ami" {
|
|
type = string
|
|
description = "AMI ID"
|
|
}
|
|
|
|
variable "region" {
|
|
type = string
|
|
description = "The AWS region to create the cluster in"
|
|
}
|
|
|
|
variable "zone" {
|
|
type = string
|
|
description = "The AWS availability zone name to create the cluster in"
|
|
}
|
|
|
|
variable "debug" {
|
|
type = bool
|
|
description = "Enable debug mode. This opens up a debugd port that can be used to deploy a custom bootstrapper."
|
|
}
|