-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(network-firewall): unable to deploy the CfnFirewallPolicy
construct
#12474
Comments
That's broken in the cfn-spec. The same issue applies to other definitions for the firewall policy like "TargetTypes" or "StatefulRules" |
There should be a PR automatically opened tomorrow updating the version of the CloudFormation spec the CDK uses to |
Thanks @skinny85 for the update! Waiting for the deployment and will let you know if its fixed. |
It seems like the PR bumping the spec to |
Looking good with the new cfnspec The example above needs to be modified but then it generates deployable CloudFormation const firewallpolicy = new CfnFirewallPolicy(this, 'policy', {
firewallPolicyName: "cdkfirewallpolicy",
firewallPolicy: {
statelessDefaultActions: ['aws:pass'],
statelessFragmentDefaultActions: ['aws:drop'],
},
}); I've tested the issue I had with 'TargetTypes' and that's also working now. |
I am still not able to deploy this, what are additional package i need to update. Below is my package.json file. { |
I've build the entire aws-network firewall module including dependencies (core, cloud-assembly-scheme, cx-api, region-info) and that worked for me. |
|
@swsunny this has been merged and released as part of CDK version |
@skinny85 Thanks! I already updated and working on module creation. Policy module done and now working on rule group. |
I am unable to deploy the CfnFirewallPolicy construct fixed in the latest update. in typescript construct is valid, but in cloudformation its giving below error:
same issue was reported (network-firewall): unable to deploy the
CfnFirewallPolicy
construct #11974 and fixed in 1.83 CDK version but still am getting this error.Using CDK 1.83
CDK Sample : Template
The text was updated successfully, but these errors were encountered: