white-chef-55657
05/07/2022, 8:12 AMpulumi up
it updates the parameters of cf stack, when I check the details it says the ddApiKey
has changed - but it didn’t.. it’s a secret so I can’t see its value in the details.
~ parameters: {
~ DdApiKey: [secret] => [secret]
}
any idea what’s going on? it’s just a waste of resources to redeploy the CF stack every time with virtually no change..little-cartoon-10569
05/08/2022, 8:48 PMcreateDataDogIntegration()
from? If that's in an apply()
then you'll see this behaviour. Does it actually deploy new resources? I'd guess it won't: it just can't tell at preview time that the before and after values are the same, so it shows that there's a potential difference.accountId: pulumi.all([current]).apply(([c]) => c.accountId)
is exactly the same as accountId: current.accountId
.great-sunset-355
05/10/2022, 5:43 PMDuring some program executions, apply doesn’t run. For example, it won’t run during a preview, when resource output values may be unknown. Therefore, you should avoid side-effects within the callbacks. For this reason, you should not allocate new resources inside of your callbacks either, as it could lead to pulumi preview being wrong.