This message was deleted.
# general
s
This message was deleted.
b
s
@brave-angle-33257 they are created in pulumi as well. I am thinking to use two codes one will create a stack and some resources in it. Then later on if user access that specific feature, then I’ll run the second code which should create new resource but instead of creating new stack, it should link it to the one created in first code.
b
you can do this with config values
Copy code
const my_resource = new aws.ec2.Instance()
const enable_feature = config.requireBoolean("enable")

if (enable_feature) {
  // add your new resource here
}
👍 1