resource/aws_networkfirewall_rule_group: mandatory params are optional in the code and documentation #16470
Labels
bug
Addresses a defect in current functionality.
documentation
Introduces or discusses updates to documentation.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/networkfirewall
Issues and PRs that pertain to the networkfirewall service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/toddlers/e09c6432d7ed4c283336b08cdbe7cc47
Expected Behavior
According to the AWS Network Firewall API Reference[1], they are mandatory params.
Actual Behavior
As per the docs[2] and code[3], they are optional but actually, they are not as per the AWS Network Firewall API Reference[1]
Steps to Reproduce
terraform apply
Error while applying
References
[1] https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_Header.html#networkfirewall-Type-Header-Destination
[2]https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/networkfirewall_rule_group#header
[3]https://github.com/hashicorp/terraform-provider-aws/blob/master/aws/resource_aws_networkfirewall_rule_group.go
The text was updated successfully, but these errors were encountered: