You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Terraform supports the lifecycle configuration replace_triggered_by. Top resource examples in AWS use this, including aws.lambda.Permission and aws.ec2.SecurityGroup. It is not immediately clear to me how to accomplish this in Pulumi, so perhaps we need to figure out the gaps here before addressing the translation per se - nothing in https://www.pulumi.com/docs/concepts/options/ is immediately obvious to use here.
Beside examples I suspect this idiom will be something that users migrating from TF would be wondering about when working with Pulumi.
If omitting the qualifier argument (which forces re-creation each time a function version is published), a lifecycle block can be used to ensure permissions are re-applied on any change to the underlying function.
Hello!
Issue details
Terraform supports the lifecycle configuration
replace_triggered_by
. Top resource examples in AWS use this, includingaws.lambda.Permission
andaws.ec2.SecurityGroup
. It is not immediately clear to me how to accomplish this in Pulumi, so perhaps we need to figure out the gaps here before addressing the translation per se - nothing in https://www.pulumi.com/docs/concepts/options/ is immediately obvious to use here.Beside examples I suspect this idiom will be something that users migrating from TF would be wondering about when working with Pulumi.
Affected area/feature
The text was updated successfully, but these errors were encountered: