sparse-intern-71089
09/09/2021, 9:06 AMlively-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 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by