sparse-intern-71089
11/13/2023, 7:24 PMbrave-planet-10645
11/13/2023, 8:18 PMbrave-planet-10645
11/13/2023, 8:19 PMbrash-finland-19802
11/13/2023, 8:21 PMbrash-finland-19802
11/13/2023, 8:22 PMbrave-planet-10645
11/13/2023, 8:22 PMbrash-finland-19802
11/13/2023, 8:23 PMbrave-planet-10645
11/13/2023, 8:24 PMbrave-planet-10645
11/13/2023, 8:24 PMUpdateFunctionEnv
do?brash-finland-19802
11/13/2023, 8:29 PMbrash-finland-19802
11/13/2023, 8:30 PMUpdateFunctionConfiguration
aws-sdk v3 commandwhite-balloon-205
Command
package is probably the best way to go for now. That will ensure you can control the lifecycle of these additional actions as part of the CRUD lifecycle (unlike with apply
which just runs on every update).
We would love in the future to allow something like Command but with callbacks you can implement directly in code (as callbacks invoked on Create/Update/Delete), so that you could just use the SDK directly instead of having an AWS CLI dependency.
There's some other discussion on future opportunities in this direction in https://github.com/pulumi/pulumi/issues/3021, https://github.com/pulumi/pulumi/issues/13999 and https://www.pulumi.com/blog/exploring-circular-dependencies/.brash-finland-19802
11/13/2023, 8:48 PMbrash-finland-19802
11/13/2023, 8:48 PMbrash-finland-19802
11/13/2023, 8:49 PM