(aws-networkfirewall): unable to set IpSets in RuleVariables
See original GitHub issuenot able to set IpSets in RuleVariables
Reproduction Steps
The following is the snippet in python
rule_group={
"ruleVariables": {
"iPSets": {
"HOME_SET": {
"definition": [
"192.168.0.0/24"
]
}
},
"portSets": {
"MYSQL": {
"definition": [
"3306"
]
}
}
},
What did you expect to happen?
It’s deployed successfully. When checking with describe-rule-group using cli, IpSets are not shown, only PortSets are in the output.
I expect IpSets are created as below
"RuleVariables": {
"IPSets": {
"HOME_SET": {
"Definition": [
"10.160.0.0/24"
]
}
}
},
What actually happened?
IPSets not created
Environment
- **CDK CLI Version 😗*1.110.1 (build 0028d09)
- Framework Version:
- **Node.js Version:**v14.15.5
- **OS 😗*macOS 11.4
- **Language (Version)😗*Python 3.9.5
Other
N/A
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
RuleVariables - AWS Network Firewall
A list of IP addresses and address ranges, in CIDR notation. Type: String to IPSet object map. Key Length Constraints: Minimum length of...
Read more >Examples of stateful rules for Network Firewall
This section lists examples of Suricata compatible rules that could be used with AWS Network Firewall.
Read more >IPSetReference - AWS Network Firewall
An IP set reference is a rule variable that references a resource that you create and manage in another AWS service, such as...
Read more >NetworkFirewall::RuleGroup IPSet - AWS CloudFormation
A list of IP addresses and address ranges, in CIDR notation. This is part of a AWS::NetworkFirewall::RuleGroup RuleVariables.
Read more >CreateRuleGroup - AWS Network Firewall
You can't change or exceed this capacity when you update the rule group, so leave room for your rule group to grow. Capacity...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You’re right, the issue can be closed. Thanks for letting us know 🙂
@skinny85 The problem should be fixed in #18275. You can probably close this issue.