I'm trying to transfer a domain name from one AWS account to another AWS account using AWS CLI. When I try to transfer the domain I get the following error:
Connect timeout on endpoint URL: "https://route53domains.eu-west-1.amazonaws.com/"
I'm using the following command to transfer the domain
aws route53domains transfer-domain-to-another-aws-account --domain-name <value> --account-id <value> --profile personal
I checked the aws config file and it looks fine. It looks like this:
[profile personal]
aws_access_key_id = somekey
aws_secret_access_key = somesecretkey
region = us-west-2
I've also made sure that the user has the correct permission. The user has the following permission
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "route53domains:*",
"Resource": "*"
}
]
}
and also has the AdministratorAccess AWS managed policy.
To make sure I can communicate with AWS. I ran a simple command aws s3 ls --profile personal and it works. AWS responds back with the contents of S3.
The version of AWS CLI I have installed is
aws-cli/2.0.18 Python/3.7.4 Darwin/19.4.0 botocore/2.0.0dev22
I'm not sure where I'm going wrong.