Skip to content

Commit 9ab6b71

Browse files
committed
Remove custom resource to use default AWS Bottlerocket bootstrap image
1 parent 9efa3fa commit 9ab6b71

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/eks/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,22 @@ module "eks" {
7979
"workload" = "materialize-instance"
8080
}
8181

82+
enable_bootstrap_user_data = true
8283
bootstrap_extra_args = <<-TOML
8384
[settings.bootstrap-containers.disk-setup]
84-
source = "public.ecr.aws/amazonlinux/amazonlinux:2"
8585
mode = "once"
8686
essential = true
8787
user-data = "${local.disk_setup_user_data}"
8888
TOML
8989

90+
# Simpler test to see if the user data is being applied
91+
# bootstrap_extra_args = <<-TOML
92+
# [settings.bootstrap-containers.disk-setup]
93+
# mode = "once"
94+
# essential = true
95+
# user-data = "${base64encode("#!/bin/bash\necho 'Simple test' > /tmp/test.log")}"
96+
# TOML
97+
9098
}
9199
}
92100

0 commit comments

Comments
 (0)