From e3da04077168fdb89bd8204558b80992019669b7 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Lopez Date: Thu, 10 Oct 2024 13:49:03 +0200 Subject: [PATCH] fix: pre-commit --- blueprints/02-at-scale/img/at-scale.architect.drawio.svg | 2 +- blueprints/02-at-scale/main.tf | 2 +- blueprints/helpers.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blueprints/02-at-scale/img/at-scale.architect.drawio.svg b/blueprints/02-at-scale/img/at-scale.architect.drawio.svg index 744c3040..58bfecba 100644 --- a/blueprints/02-at-scale/img/at-scale.architect.drawio.svg +++ b/blueprints/02-at-scale/img/at-scale.architect.drawio.svg @@ -912,4 +912,4 @@ - \ No newline at end of file + diff --git a/blueprints/02-at-scale/main.tf b/blueprints/02-at-scale/main.tf index ae5f914d..ad9f1c9e 100644 --- a/blueprints/02-at-scale/main.tf +++ b/blueprints/02-at-scale/main.tf @@ -153,7 +153,7 @@ module "eks" { platform = "bottlerocket" enable_bootstrap_user_data = true bootstrap_extra_args = local.bottlerocket_bootstrap_extra_args - disk_size = 100 + disk_size = 100 } # https://aws.amazon.com/blogs/compute/cost-optimization-and-resilience-eks-with-spot-instances/ # https://www.eksworkshop.com/docs/fundamentals/managed-node-groups/spot/instance-diversification diff --git a/blueprints/helpers.sh b/blueprints/helpers.sh index c0bd18d5..552850e3 100755 --- a/blueprints/helpers.sh +++ b/blueprints/helpers.sh @@ -210,7 +210,7 @@ set-kube-env () { # shellcheck disable=SC2154 find "$SCRIPTDIR/$bp" -type f -name "*.tf" -print0 \ | xargs -0 sed -i -e "/#vK8#/{n;s/\".*\"/\"$vK8\"/;}" \ - -e "/#vEKSBpAddonsTFMod#/{n;s/\".*\"/\"$vEKSBpAddonsTFMod\"/;}" + -e "/#vEKSBpAddonsTFMod#/{n;s/\".*\"/\"$vEKSBpAddonsTFMod\"/;}" done }