https://pulumi.com logo
#python
Title
# python
c

clever-plumber-29709

10/05/2020, 7:57 PM
Is there a way to serialize a pulumi resource? I'm creating an api gateway, and for the api deployment to work correctly i need to define a trigger, which will be a sha of the serialized resources it depends on. Something similar to what is done on terraform: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_deployment#redeployment-triggers or if someone has an example on another way to do it, i'll appreciate it.
f

faint-table-42725

10/05/2020, 8:44 PM
From looking at the example, I think I’m missing why this cannot be modeled with
depends_on
?
I think that would work?