awscc_route53resolver_resolver_rule_association (Resource)

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.

Example Usage

Associate resolver to vpd

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"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

$ terraform import awscc_route53resolver_resolver_rule_association.example <resource ID>