Created
September 18, 2019 10:12
-
-
Save zxkane/289256b68cfc11e0ae8507b513439710 to your computer and use it in GitHub Desktop.
The private hosted route of Route53 associates with the VPC in another account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export AWS_DEFAULT_PROFILE=account_a(has route53) | |
aws route53 create-vpc-association-authorization --hosted-zone-id zoneid --vpc VPCRegion=ap-southeast-1,VPCId=vpc-xxxx | |
export AWS_DEFAULT_PROFILE=account_b(has vpc-xxxx) | |
aws route53 associate-vpc-with-hosted-zone --hosted-zone-id zoneid --vpc VPCRegion=ap-southeast-1,VPCId=vpc-xxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment