How can I use AWS RAM to share Route 53 Resolver rules across multiple VPCs and AWS accounts?
I want to use AWS Resource Access Manager (AWS RAM) to share Amazon Route 53 Resolver rules across multiple virtual private clouds (VPCs) or AWS accounts.
"I want to use AWS Resource Access Manager (AWS RAM) to share Amazon Route 53 Resolver rules across multiple virtual private clouds (VPCs) or AWS accounts.ResolutionCreate the Route 53 Resolver rules (if you don't already have rules)Before you begin, consider the following:Route 53 Resolver is a Regional service. You can only share and associate VPCs in the same Region where you created the rules.You must have permissions to use the PutResolverRulePolicy action to share rules across AWS accounts.The account that you share rules with can't change or delete the shared rule.In Account A, create Route 53 Resolver rules to share with other accounts and VPCs.Share the Route 53 Resolver rules with AWS RAMOpen the Route 53 console in Account A.In the navigation pane, choose Rules.Select the rule that you want to share.Choose Share.For Name, enter a descriptive name for the resource share.For Select Resource Type, choose Resolver Rules.Select the Resolver Rule ID to share.Specify the Principal to share. The Principal can be a single account or an organization.(Optional) Complete the Tags section.Accept the shared Route 53 Resolver rules in AWS RAMOpen the AWS RAM console.In the navigation pane, choose Shared with me, Resource shares.Select the resource share ID for the Route 53 Resolver rules.Choose Accept resource share.Associate the Route 53 Resolver rules with a VPCOpen the Route 53 console in Account B.In the navigation pane, choose Rules.Select the rule that you just shared.Choose Associate VPC.Select the VPC from the drop-down list, and then choose Add.DNS queries from the VPC now use the outbound endpoint for the shared rule from Account A. AWS RAM manages connectivity between the VPC and the outbound endpoint for the rule from Account A.Related informationManaging forwarding rulesFollow"