handsome-xylophone-18806
02/16/2020, 2:29 PMaws.rds.Instance
with a securityGroup
which allows only access from a specific aws.ec2.Instance
. But If I would like to use mysql.Provider
to create a database and user, I get this error when run pulumi up
error: Could not connect to server: dial tcp 10.0.8.127:3306: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
How could I achieve that?white-balloon-205
handsome-xylophone-18806
02/16/2020, 9:04 PMrds
like this:
const rds = new aws.rds.Instance('db', {
vpcSecurityGroupIds: [securityGroup.id, securityGroup2.id]
//...
});
const provider = new mysql.Provider(...)
const db = new mysql.Database(...)
How can I remove securityGroup2.id
from the rds
above after creating rds and database? securityGroup2
allows my machine to run mysql operations.handsome-xylophone-18806
02/17/2020, 8:45 PMwhite-balloon-205
handsome-xylophone-18806
02/17/2020, 9:47 PMhandsome-xylophone-18806
02/17/2020, 10:00 PMhandsome-xylophone-18806
02/17/2020, 10:16 PM