Open farisbacker opened 5 months ago
Voting for Prioritization
Volunteering to Work on This Issue
I can make this change. Looks like the api supports the following filters for rule associations Docs
So
data "aws_route53_resolver_rule_associations" "existing_associations" {
name = ""
resolver_rule_id = ""
status = []
vpc_id = ""
}
@farisbacker went with the filter pattern since that's what the CLI is taking, so would look like
data "aws_route53_resolver_rule_associations" "existing_associations" {
filter {
name = "ResolverRuleId"
values = [ aws_route53_resolver_rule_association.existing.resolver_rule_id ]
}
}
Description
Data source to get the list of associations for particular rule. There is already resource for the same https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/resources/route53_resolver_rule_association
Requested Resource(s) and/or Data Source(s)
"aws_route53_resolver_rule_associations"
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
None