Skip to content

Commit

Permalink
Add "self" to security group rule
Browse files Browse the repository at this point in the history
When using the same security group alongside an RDS proxy, it is required to have self references
  • Loading branch information
bee7ch7 authored Aug 14, 2024
1 parent 5a2ebc2 commit 924532a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ resource "aws_security_group_rule" "this" {
ipv6_cidr_blocks = try(each.value.ipv6_cidr_blocks, null)
prefix_list_ids = try(each.value.prefix_list_ids, null)
source_security_group_id = try(each.value.source_security_group_id, null)
self = try(each.value.self, null)
}

################################################################################
Expand Down

0 comments on commit 924532a

Please sign in to comment.