stale-needle-387
03/07/2024, 11:34 AMstale-needle-387
03/07/2024, 11:57 AMstale-needle-387
03/07/2024, 12:12 PMstale-needle-387
03/07/2024, 12:15 PMcrooked-daybreak-55253
03/07/2024, 12:16 PMstale-needle-387
03/07/2024, 12:16 PMcrooked-daybreak-55253
03/07/2024, 12:25 PMstale-needle-387
03/07/2024, 12:26 PMcrooked-daybreak-55253
03/07/2024, 12:27 PMGIT_TERMINAL_PROMPT=0
as an env variable. Then hopefully we can see what itβs trying to download.stale-needle-387
03/07/2024, 12:28 PM2024-03-07T12:27:56Z DBG failed to get transformed ssh url <https://github.com/gruntwork-io/terraform-aws-security.git>, retrying with ssh error="/usr/bin/git exited with 128: Cloning into 'testing/.infracost/terraform_modules/ed7ccc95ba11f56c329dad330e0f3382'...\nfatal: could not read Username for '<https://github.com>': terminal prompts disabled\n"
2024-03-07T12:28:02Z WRN Terragrunt config path /var/home/admin/Repos/immocapital/immo-infrastructure/feature/implement-infracost-in-pipelines/testing/eu-west-1/mgmt/networking/vpc/terragrunt.hcl returned module testing/.infracost/.terragrunt-cache/wwPmQNMUHP2vXjvGW_Mb5cNk80s-gJdH5n0Pv3q3EXcJ9msyFdwhlDU/modules/networking/vpc-mgmt with error: Error loading Terraform modules: could not load modules for path testing/.infracost/.terragrunt-cache/wwPmQNMUHP2vXjvGW_Mb5cNk80s-gJdH5n0Pv3q3EXcJ9msyFdwhlDU/modules/networking/vpc-mgmt could not load modules for path testing/.infracost/terraform_modules/6cb1aa003099313c9069418ec6b56df8/modules/networking/vpc-mgmt could not load modules for path testing/.infracost/terraform_modules/30f6f884192cb2add15736c5dc3cae1c/modules/vpc-flow-logs Failed to download remote module "vpc.vpc_flow_logs.s3_bucket" - could not download module git::git@github.com:gruntwork-io/terraform-aws-security.git?ref=v0.67.9 to cache error downloading '<ssh://git@github.com/gruntwork-io/terraform-aws-security.git?ref=v0.67.9>': /usr/bin/git exited with 128: Cloning into 'testing/.infracost/terraform_modules/ed7ccc95ba11f56c329dad330e0f3382'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
project_name= project_path=./testing/eu-west-1/mgmt/networking/vpc provider=terragrunt_dir
2024-03-07T12:28:02Z DBG Found terragrunt HCL working dir: testing/.infracost/.terragrunt-cache/wwPmQNMUHP2vXjvGW_Mb5cNk80s-gJdH5n0Pv3q3EXcJ9msyFdwhlDU/modules/networking/vpc-mgmt project_name= project_path=./testing/eu-west-1/mgmt/networking/vpc provider=terragrunt_dir
2024-03-07T12:28:02Z DBG IsCloudEnabled inferred from Config.EnabledDashboard is_cloud_enabled=false
2024-03-07T12:28:02Z DBG IsCloudEnabled inferred from Config.EnabledDashboard is_cloud_enabled=false
2024-03-07T12:28:02Z INF Starting: Retrieving cloud prices to calculate costs
2024-03-07T12:28:02Z DBG IsCloudEnabled inferred from Config.EnabledDashboard is_cloud_enabled=false
2024-03-07T12:28:02Z DBG Skipping sending project results since Infracost Cloud upload is not enabled.
2024-03-07T12:28:02Z DBG 'POST' request to '/event' using trace_id: 'e0def1b4-43df-497e-b957-fedc0a0f8f50'
2024-03-07T12:28:02Z DBG performing request method POST url <https://pricing.api.infracost.io/event> library=retryablehttp
Project: testing/eu-west-1/mgmt/networking/vpc
Name Monthly Qty Unit Monthly Cost
OVERALL TOTAL $0.00
ββββββββββββββββββββββββββββββββββ
No cloud resources were detected
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββββ
β Project β Monthly cost β
β£ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ«
β testing/eu-west-1/mgmt/networking/vpc β $0.00 β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ»βββββββββββββββ
stale-needle-387
03/07/2024, 12:30 PM./testing/.infracost
, and the same issue is happeningstale-needle-387
03/07/2024, 12:35 PMcrooked-daybreak-55253
03/07/2024, 12:35 PM<https://github.com/gruntwork-io/terraform-aws-security.git>
look familiar at all?stale-needle-387
03/07/2024, 12:36 PMimmo-gruntwork/terraform-aws-security.git
(private repo)crooked-daybreak-55253
03/07/2024, 12:45 PM./testing/eu-west-1/mgmt/networking/vpc
sources a module called modules/networking/vpc-mgmt
which sources /modules/vpc-flow-logs
which sources vpc.vpc_flow_logs.s3_bucket
.
Maybe one of those modules in the chain is locked to an older version that still tries to load gruntwork-io/terraform-aws-security.git
stale-needle-387
03/07/2024, 12:46 PMterragrunt plan/apply
to fail too?stale-needle-387
03/07/2024, 12:48 PM.infracost
directory.
Will spend a bit of time on my own again looking into it and report backcrooked-daybreak-55253
03/07/2024, 12:50 PM.tf
parsing in the infracost cli so there could be a bug in our parsing that causes us to hit this