【发布时间】: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