thousands-area-40147
09/09/2021, 9:06 AMResource A
no matter what, but Resource B
might be omitted for a stack. If Resource B
is provisioned however, it will depend on Resource A
, but also changes will need to happen to Resource A
after creating Resource B
. As far as I can tell, there's no modify
method or similar for resources that have already been created, or am I missing something?lively-crowd-44886
09/09/2021, 6:38 PMResource A
depend directly on the outputs of Resource B
, you should be able to approach it like
if(bEnabled){
new ResourceA(argsAB)
new ResourceB(argsB)
} else {
new ResourceA(argsA)
}
little-cartoon-10569
09/09/2021, 8:05 PMproud-pizza-80589
09/12/2021, 7:27 AMlittle-cartoon-10569
09/12/2021, 9:11 PM