Open nacho-vazquez opened 11 months ago
I've run into this same error.
Same here,
I created a RDS database using the construct:
export default function SQLDatabase({ stack }: StackContext): RDS {
const rds = new RDS(stack, 'db', {
engine: 'postgresql11.13',
defaultDatabaseName: 'dbName',
});
return rds;
}
I have already set the default profile with the correct credentials,
the database is there:
Same error ☹️
Found the issue: https://github.com/sst/torpedo/blob/037a7f139b10b153055f802dfa42659ec8406817/pkg/bastion/bastion.go#L63C15-L63C99
Aurora will not show up in these instances. I believe it needs to use DescribeDBClusters
instead: https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#example_RDS_DescribeDBClusters_shared00. Perhaps should be a flag so it can be based on either? @thdxr?
Going to pull it down and see if I can get it to work.
Can confirm an Aurora Postgres does show up @scerickson
The Problem
I have run Torpedo using my AWS Profiles and using AWS Credentials. Both gave me the same message: "No databases found."
In one of the accounts, I have 3 Aurora RDS PostgreSQL databases.