https://pulumi.com logo
Title
a

able-tomato-34262

07/03/2018, 1:23 PM
Sorry for the night spam guys, but is it normal that my
preview
and
update
command using python take ~40 seconds for a 30 lines program ?
b

big-piano-35669

07/03/2018, 1:28 PM
That doesn't sound right, but it depends on what the program is doing. The slowest operations tend to be communicating with the cloud provider for auth, resources, etc. Are you using AWS? Since you say you're in France, I wonder, what region are you using?
a

able-tomato-34262

07/03/2018, 1:29 PM
You're right @big-piano-35669, I just realized I was using the default region,
us-east-1
, from France, no wonder it's slow...
b

big-piano-35669

07/03/2018, 1:30 PM
Great, let me know if that doesn't fix things. I wish we could default to the nearest region, that would be neat 😊
a

able-tomato-34262

07/03/2018, 1:31 PM
No, IMHO, I don't think it would be a good idea, it's good practice to force developpers to set the region
b

big-piano-35669

07/03/2018, 1:32 PM
👍