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
Describe the Bug
The allowed_security_groups does not allow passing an SG to allow specific traffic from specific IPs. E.g. for
devtesting in a dev environment.The problem is that the
allowed_security_groupid's are being attached as a source for the default security group, which makes little to no sense. These ID's should be passed toaws_docdb_clusterdirectly:E.g.
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