-
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
The allowed_security_groups does not allow passing an SG to allow specific traffic from specific IPs. E.g. for dev testing in a dev environment.
The problem is that the allowed_security_group id's are being attached as a source for the default security group, which makes little to no sense. These ID's should be passed to aws_docdb_cluster directly:
E.g.
vpc_security_group_ids = concat(join("", aws_security_group.default[*].id)], var.allowed_security_groups)Expected Behavior
I expect that should I pass an allowed_security_group id that the rules in that security group would be applied.
Steps to Reproduce
Simply pass a security group that allows ingress from an IP range and test, it wont work.
Screenshots
No response
Environment
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system