Hi,
I am trying to use operator-migrate command to migrate existing vault data which is there in AWS Aurora MySQL RDS instance to DynamoDB.
Here is my migrate.hcl file:
storage_source "mysql" {
address = "<endpoint of rds instance>"
database = "t"
table = "vaultdata"
username = ""
max_parallel = "900"
password = ""
}
storage_destination "dynamodb" {
region = "eu-west-1"
table = "t_dynamodb"
}
First of all , Is this correct configuration?
Because I am getting "failed to check mysql" error as follows while running command
/ # vault operator migrate -config migrate.hcl
Error migrating: error mounting 'storage_source': failed to check mysql schema exist: dial tcp 10.12.6.204:3306: connect: connection timed out
PS: I am running vault as a container in openshift(running in EC2) which is in same VPC as AWS database and same security group.