add option to customize flags to terraform init for terraform validate
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
调研方向
首先定位用于 terraform validate 的 pre-commit hook,以及它所使用的 terraform init 调用。使用 Terraform 锁文件复现自动验证场景,然后定义应如何提供自定义 init 标志。完成标准是用户可以自定义这些标志,并且 terraform validate 不再导致锁文件发生非预期更改。
由索引模型根据 Issue 内容生成。
描述
Describe the solution you'd like
The terraform lock file is causing issues with terraform validate being run in an automated job. Terraform init is updating the hashes in the lockfile and thus failing the job because it detects changes were made to files.
For now this can be fixed by not checking in the lock file but this is outside of what hashicorp is recommending.
- 主要语言
- Shell
- 星标
- 546
- 派生
- 167
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gruntwork-io/pre-commit 的其他 Issue
-
Documentation for shellcheck should include that it is configurable with a .shellcheckrc可能重新可做 关联的 PR 已关闭且未合并。 未关闭enhancement
难度 1/5 1 小时以内 新手友好度 68/100
gruntwork-io/pre-commit#79 ·
-
Support args for terraform-fmt, remove hardcoded args.可能重新可做 @ZachGoldberg 于 387 天前认领,目前没有进行中的 PR。 未关闭enhancement
gruntwork-io/pre-commit#138 · 3 个 reaction · 已指派 1 人 ·
-
Sentinel Fmt Hook Does Not Work可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 38/100
gruntwork-io/pre-commit#121 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 35/100
gruntwork-io/pre-commit#111 · 1 个 reaction ·
-
bug
难度 1/5 1 小时以内 新手友好度 45/100
gruntwork-io/pre-commit#110 ·
查看 gruntwork-io/pre-commit 的全部 Issue
相似的 Issue
-
rebrand-literal-gutter: uhttpd section-vocabulary check trips on a COMMENT (uhttpd.luci in 92-tollgate-admin-setup:178)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
OpenTollGate/tollgate-module-basic-go#723 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 82/100
stephrobert/pavois#390 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1-3 小时 新手友好度 82/100
TIBCOSoftware/be-tools#408 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 92/100