【问题标题】:Terragrunt not findind folder from source repoTerragrunt 没有从源代码库中找到文件夹
【发布时间】:2022-05-06 19:12:13
【问题描述】:

我正在使用带有 backend(模块)和 frontend(实时)存储库的官方 Gruntworks 示例。

我想(出于此问题范围之外的原因)切换到 https 作为来源。

因此我正在更改此文件的来源

terragrunt-infrastructure-live-example/non-prod/us-east-1/qa/mysql/terragrunt.hcl

到

terraform {
  source = "https://github.com/gruntwork-io/terragrunt-infrastructure-modules-example//mysql"
}

对应的plan失败:

[15/09/21 9:18:41] ➜  mysql git:(adding_atlantis_config) ✗ terragrunt plan
ERRO[0000] Working dir mysql from source https://github.com/gruntwork-io/terragrunt-infrastructure-modules-example does not exist 
ERRO[0000] Unable to determine underlying exit code, so Terragrunt will exit with error code 1 

这怎么可能,因为mysql 目录存在。 Here 是。

【问题讨论】:

    标签: terraform terragrunt


    【解决方案1】:

    应该像 terraform { source = "git::@987654321@ }

    【讨论】:

      猜你喜欢
      • 2021-10-09
      • 1970-01-01
      • 2012-01-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-01
      • 2021-10-04
      相关资源
      最近更新 更多