Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Terraform bootstrap fails if local zones are enabled #210

Open
1 task done
gjmveloso opened this issue Oct 1, 2024 · 0 comments
Open
1 task done

[Bug]: Terraform bootstrap fails if local zones are enabled #210

gjmveloso opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gjmveloso
Copy link

Welcome to AWS Blueprints for Crossplane!

  • Yes, I've searched similar issues on GitHub and didn't find any.

AWS Blueprints for Crossplane Release version

latest

What is your environment, configuration and the example used?

https://github.com/awslabs/crossplane-on-eks/blob/main/bootstrap/terraform/README.md#step4-finally-terraform-apply

What did you do and What did you see instead?

Consistently receiving the following error:

Error: creating EC2 NAT Gateway: operation error EC2: CreateNatGateway, https response error StatusCode: 400, RequestID: 30d3fb07-1962-493b-a53e-fe93219bc456, api error OperationNotPermitted: Primary elastic IP and subnet belong in different network border groups.

Additional Information

My hypothesis is that as NAT Gateways are not supported across all local zones, in this case within `us-west-2`, and we're using `single_nat_gateway` the VPC module does not handle that properly.

Suggest to filter out local zones AZs.
@gjmveloso gjmveloso added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant