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

Terraform deployment issue #54

Closed
Jarek-Rolski opened this issue Oct 27, 2023 · 0 comments
Closed

Terraform deployment issue #54

Jarek-Rolski opened this issue Oct 27, 2023 · 0 comments

Comments

@Jarek-Rolski
Copy link
Contributor

Current terraform code cannot deploy load balancer security group because too many ingress rules is trying to be assigned to it:

 ╷
│ Error: updating Security Group (sg-08a020a0cbd15ebf2) ingress rules: authorizing Security Group (ingress) rules: RulesPerSecurityGroupLimitExceeded: The maximum number of rules per security group has been reached.
│ 	status code: 400, request id: c804a6ef-2a90-4303-8e9d-449ad1ccaf34
│ 
│   with module.rapid.module.app_cluster.aws_security_group.load_balancer_security_group,
│   on .terraform/modules/rapid/infrastructure/modules/app-cluster/load_balancer.tf line 67, in resource "aws_security_group" "load_balancer_security_group":
│   67: resource "aws_security_group" "load_balancer_security_group" {
│ 
╵

I solved this by replacing one security group with two, one for http and one for https traffic.

Pull request with my changes: #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants