cloudtools / cloudtools/troposphere
SecurityGroupRule Validation Enhancement
Open
- Dominant language
- Python
- Stars
- 4.9k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Both CidrIp and SourceSecurityGroup cannot be specified within a SecurityGroupRule. Would be a nice enhancement to fail during troposphere when this is detected.
Here is an example that should not pass validation:
```
import troposphere.ec2 as ec2
ec2.SecurityGroupRule(
IpProtocol="tcp",
FromPort="22",
ToPort="22",
CidrIp="0.0.0.0/0",
SourceSecurityGroupId=sg-12345
)
```
Contributor guide
Assessment
This issue has not been assessed yet.