bbl up fails when using --lb-type concourse

未关闭 适合新手
#701 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
67/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
aws, go, terraform

调研方向

从生成的 bbl-template.tf 约第 964 行开始,找到定义目标组 concourse_lb_80 的位置,并追踪它针对 --lb-type concourse 的健康检查配置。检查 AWS provider 的约束,以及相关的 Terraform 生成逻辑或测试。完成标准是:使用此负载均衡器类型运行 bbl up 时,不再产生所报告的无效属性组合。

由索引模型根据 Issue 内容生成。

描述

Error: Invalid Attribute Combination
│
│ Attribute "health_check[0].matcher" cannot be specified when "health_check[0].protocol" is "TCP".
│
│ Path: health_check[0].matcher
│
│ with aws_lb_target_group.concourse_lb_80,
│ on bbl-template.tf line 964, in resource "aws_lb_target_group" "concourse_lb_80":
│ 964: resource "aws_lb_target_group" "concourse_lb_80" {

Something changed in AWS where TCP is no longer a valid entry for the health check on the port 80 target group.

I was able to hack the bbl-terraform.tf file to switch the health check from TCP to HTTP and that got past the issue.

主要语言
Go
星标
181
派生
179
平均合并
9 小时 54 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudfoundry/bosh-bootloader 的其他 Issue

查看 cloudfoundry/bosh-bootloader 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。