quaint-air-36266
05/05/2021, 2:26 AMpulumi destroy --target urn:pulumi:dev::database::aws:rds/cluster:Cluster::aurora-cluster --target-dependents
but getting the following error:
error: Cannot delete parent resource 'urn:pulumi:dev::database::aws:rds/cluster:Cluster::aurora-cluster' without also deleting child 'urn:pulumi:dev::database::aws:rds/cluster:Cluster$aws:cloudwatch/metricAlarm:MetricAlarm::chumba-casino-dev-uptime-alarm'
Unsure why its failing on removing child resources when the --target-dependents
toggle is being used.little-cartoon-10569
05/05/2021, 2:27 AMlittle-cartoon-10569
05/05/2021, 2:28 AM--target-dependents
won't notice...red-match-15116
05/05/2021, 2:48 AMdependsOn
and would be destroyed by --target-dependents
.
Parent-child relationships are defined by the parent
property and/or componentResources
red-match-15116
05/05/2021, 2:51 AM--target
say
All resources necessary to destroy this target will also be destroyed.
I would expect that to mean that it would destroy the child.red-match-15116
05/05/2021, 3:03 AMquaint-air-36266
05/05/2021, 3:22 AM--target
flag. Thanks for the helplittle-cartoon-10569
05/05/2021, 3:23 AMred-match-15116
05/05/2021, 3:25 AM