hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

[Enhancement]: Data Source `route53_resolver_rules` filter by DomainName #35397

Open AliAllomani opened 10 months ago

AliAllomani commented 10 months ago

Description

The data source route53_resolver_rules supports retrieving rules by name regex, but there is no method available to retrieve the rules by domain name

AWS API returns the domain name of the rule as part of the response which can be used to support filtering by domain name the same way filtering by rule name is implemented

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

data "aws_route53_resolver_rules" "example" {
  domain_regex = ".*abc.*"
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 10 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue