From f3f402c1ba8c75d0f18aebdde04d944fdf11c14b Mon Sep 17 00:00:00 2001 From: Andrei Maksimov Date: Fri, 22 Oct 2021 14:27:21 -0400 Subject: [PATCH] buildspec-infracost.yml fix --- buildspec-infracost.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildspec-infracost.yml b/buildspec-infracost.yml index c9d0a3e..2afcd10 100644 --- a/buildspec-infracost.yml +++ b/buildspec-infracost.yml @@ -12,6 +12,8 @@ phases: - cd /usr/bin - "curl -s -qL -o terraform.zip https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip" - unzip -o terraform.zip + - apt-get update + - apt-get -y install sudo - "curl -fsSL https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh | bash" build: