Skip to content

Commit

Permalink
Merge pull request #32 from DNXLabs/feature/fixing-sg-description
Browse files Browse the repository at this point in the history
Fix: Shortened security group description to avoid exceeding characte…
  • Loading branch information
alandavid authored Aug 8, 2024
2 parents b8660b8 + 505c8a0 commit d7a6054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "aws_security_group_rule" "rds_db_inbound_cidrs" {
protocol = "tcp"
cidr_blocks = var.allow_cidrs
security_group_id = aws_security_group.rds_db.id
description = "From CIDR ${join(", ", var.allow_cidrs)}"
description = "From CIDR ${join(", ", slice(var.allow_cidrs, 0, 10))}"
}

resource "aws_security_group_rule" "rds_db_inbound_from_sg" {
Expand Down

0 comments on commit d7a6054

Please sign in to comment.