aws-samples / aws-samples/sample-devops-agent-eks-workshop

Deploy fails

未关闭
#2 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HCL
星标
26
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

Running a deploy on Oregon failed:
...
x Error: creating EC2 NAT Gateway: operation error EC2: CreateNatGateway, https response error StatusCode: 400, RequestID: e127f655-7c1f-4732-b55f-8e51742080a0, api error OperationNotPermitted: Primary elastic IP and subnet belong in different network border groups.
x
x with module.vpc.module.vpc.aws_nat_gateway.this[0],
x on .terraform/modules/vpc.vpc/main.tf line 1111, in resource "aws_nat_gateway" "this":
x 1111: resource "aws_nat_gateway" "this" {

This might have to do with subnets being created in a "satellite" local zone ? (LAX). I have not digged into it...

贡献指南

打开贡献指南

调研方向

Start with the failed deploy output and inspect .terraform/modules/vpc.vpc/main.tf around line 1111, where the aws_nat_gateway resource is defined. Check whether the Oregon subnets and primary elastic IP are in compatible network border groups, including the suspected satellite local zone, then confirm done by completing the deploy successfully.

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

评估

技术栈
aws, terraform
领域
cloud, infrastructure
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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