This message was deleted.
# general
s
This message was deleted.
b
Well, you're creating both resources with the same
name
, the first parameter should be different for every resource of the same type
f
Yes, but they are the same resource actually. I'm just trying to change the
traffics
object somehow. If it was a regular JavaScript program I would just do
service.traffics = ...
but I can't so I'm trying to find a workaround
r
If you want to change the traffics object just change it in your original resource definition and it will update on the next pulumi up
f
I want to do it gradually. First create the resource without driving traffic and then slowly increase it. Like a CD process of sorts
r
Pulumi drives to a declarative state defined in your program. So writing the same resource with different properties won’t do what you are trying. You might try looking at automation api to do something of this sort.