Open dsantanu opened 1 month ago
Voting for Prioritization
Volunteering to Work on This Issue
Side note that the awscc
provider does have awscc_networkfirewall_rule_group
and awscc_networkfirewall_rule_groups
data sources, however, you can only specify the full ARN vs. name for awscc_networkfirewall_rule_group
, and awscc_networkfirewall_rule_groups
doesn't seem to return the managed rule groups AFAICT?
Description
Using AWS CLI (and boto3), one can retrive ARNs of the AWS managed rule groups, like this:
There is no such equivalant feature available for Terraform yet, which is a much needed requirment for adding managed rule-groups, without hard-coding the ARNs manually.
It was requested here: https://github.com/hashicorp/terraform-provider-aws/issues/18026; but doesn't look like ever implemented.
Requested Resource(s) and/or Data Source(s)
New Resource
(data) aws_networkfirewall_rule_group
Potential Terraform Configuration
References
AWS API ref. https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_ListRuleGroups.html
AWS CLI Ref. https://docs.aws.amazon.com/cli/latest/reference/network-firewall/list-rule-groups.html
Boto3 Ref. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/network-firewall/client/list_rule_groups.html
Would you like to implement a fix?
None