important-leather-28796
10/13/2025, 8:52 PMmysql.Grant against my gcp.sql.DatabaseInstance? We run our db schema create etc inside a container with a cloud sql proxy sidecar, but I’m working an a per-PR set of stacks and want to run a grant to limit a per-PR user to a per-PR schema. As I have it, the pulumi up just hangs indefinitely (no error, and timeouts don’t work).brave-planet-10645
10/14/2025, 8:39 AMpulumi up --yes --logtostderr --logflow -v=10 2> logs.log?
How are you setting the timeouts? Are you using the customTimeouts resource option?important-leather-28796
10/14/2025, 12:35 PMmodern-spring-15520
10/14/2025, 3:02 PMconst grant = new command.local.Command("testMysqlConnection", {
create: `
mysql --connect-timeout=5 -h ..." \
-e "SELECT 1;"
`,
};brave-planet-10645
10/16/2025, 4:23 PMimportant-leather-28796
10/16/2025, 5:33 PMbrave-planet-10645
10/17/2025, 10:23 AMbrave-planet-10645
10/17/2025, 10:25 AMimportant-leather-28796
10/17/2025, 5:41 PMThe CLI will need to have access to the MySQL database to be able to deploy the “grant” resource.Yes, that is what I have already said.
I suspect it’s timing outIt does not time out though. No timeout works. It would have been nice if it did, but the point is moot, since I need to make it work in all environments e.g. use a job with a proxy pattern.