In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
To associate route53 resolver rule to vpc
resource "awscc_route53resolver_resolver_rule_association" "example" {
resolver_rule_id = awscc_route53resolver_resolver_rule.example.id
vpc_id = "vpc-example-id"
name = "My resolver rule association"
}
resolver_rule_id
(String) The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.vpc_id
(String) The ID of the VPC that you associated the Resolver rule with.name
(String) The name of an association between a Resolver rule and a VPC.id
(String) Uniquely identifies the resource.resolver_rule_association_id
(String)Import is supported using the following syntax:
$ terraform import awscc_route53resolver_resolver_rule_association.example <resource ID>