swift-intern-18856
10/20/2021, 3:28 PMComponentResource
to logically group them. However, when I run a preview, the provider wants to delete and create all these resources, even though nothing has changed besides the structure of my code. Am I doing something wrong? Or is there a way to work around this?{ parent: this }
on the resource options out ... this means that the dependency isn't established which kind of defeats the point. I'm not sure why simply establishing the dependency on a logical component grouping would cause the engine to want to delete the existing resourcesfreezing-van-87649
10/20/2021, 4:01 PMconst serviceAccountSecondCustomerKey = new gcp.serviceAccount.Key("ServiceAccountSecondCustomerKey",
{
serviceAccountId: serviceAccountSecondCustomer.email
},
{
parent: serviceAccountSecondCustomer,
aliases: [
{ parent: pulumi.rootStackResource }
]
}
);
swift-intern-18856
10/20/2021, 4:10 PMfreezing-van-87649
10/20/2021, 4:16 PM