Skip to content

Commit

Permalink
terraform fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Devyatkin <[email protected]>
  • Loading branch information
Andrey9kin committed Apr 11, 2021
1 parent 7c6bf71 commit e936d04
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/bottlerocket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "eks" {

worker_groups_launch_template = [
{
name = "bottlerocket-nodes"
name = "bottlerocket-nodes"
# passing bottlerocket ami id
ami_id = data.aws_ami.bottlerocket_ami.id
instance_type = "t3a.small"
Expand All @@ -38,16 +38,16 @@ module "eks" {

# This section overrides default userdata template to pass bottlerocket
# specific user data
userdata_template_file = file("${path.module}/userdata.toml")
userdata_template_file = file("${path.module}/userdata.toml")
# we are using this section to pass additional arguments for
# userdata template rendering
userdata_template_extra_args = {
enable_admin_container = var.enable_admin_container
enable_control_container = var.enable_control_container
aws_region = data.aws_region.current.name
enable_admin_container = var.enable_admin_container
enable_control_container = var.enable_control_container
aws_region = data.aws_region.current.name
}
# example of k8s/kubelet configuration via additional_userdata
additional_userdata = <<EOT
additional_userdata = <<EOT
[settings.kubernetes.node-labels]
ingress = "allowed"
EOT
Expand Down

0 comments on commit e936d04

Please sign in to comment.