Skip to content

Commit 53f45b7

Browse files
committed
add live ctf config
1 parent 61b3f75 commit 53f45b7

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

aws/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ module "eks" {
8383

8484
# apply when available: iam_role_permissions_boundary = "arn:aws:iam::${local.account_id}:policy/service-user-creation-permission-boundary"
8585
eks_managed_node_group_defaults = {
86-
disk_size = 50
86+
disk_size = 256
8787
disk_type = "gp3"
8888
disk_throughput = 150
8989
disk_iops = 3000
90-
instance_types = ["t3a.large"]
90+
instance_types = ["t3a.medium"]
9191

9292
iam_role_additional_policies = [
9393
"arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy",
@@ -102,11 +102,11 @@ module "eks" {
102102
bottlerocket_default = {
103103
create_launch_template = false
104104
launch_template_name = ""
105-
min_size = 1
105+
min_size = 3
106106
max_size = 50
107-
desired_size = 1
107+
desired_size = 3
108108

109-
capacity_type = "SPOT"
109+
capacity_type = "ON_DEMAND"
110110

111111
ami_type = "BOTTLEROCKET_x86_64"
112112
platform = "bottlerocket"

aws/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ variable "extra_allowed_ip_ranges" {
2121
type = list(string)
2222
default = []
2323
}
24+
25+
variable "state_bucket_arn" {
26+
description = "ARN of the state bucket to grant access to the s3 user"
27+
type = string
28+
}

0 commit comments

Comments
 (0)