ancient-megabyte-79588
03/29/2021, 11:20 PMimport
and an import
of the resource group and and the cli always shows as wanting to replace it. The details
(when trying to import
)doesn't seem to indicate why it wants to replace it.
=>azure:core/resourceGroup:ResourceGroup: (import-replacement) 🔒
[urn=urn:pulumi:dpts-shared::KubernetesCluster::azure:core/resourceGroup:ResourceGroup::rg-kubernetes]
[provider=urn:pulumi:dpts-shared::KubernetesCluster::pulumi:providers:azure::default_3_52_1::04da6b54-80e4-46f7-96ec-b56ff0331ba9]
name: "rg-kubernetes"
+-azure:core/resourceGroup:ResourceGroup: (replace) 🔒
[id=/subscriptions/ad73ec2e-0337-4de5-983c-3944fcb68be8/resourceGroups/rg-kubernetes]
[urn=urn:pulumi:dpts-shared::KubernetesCluster::azure:core/resourceGroup:ResourceGroup::rg-kubernetes]
[provider: urn:pulumi:dpts-shared::KubernetesCluster::pulumi:providers:azure::default_3_6_1::09b02d81-f05d-4347-a5d2-831be11283e0 => urn:pulumi:dpts-shared::KubernetesCluster::pulumi:providers:azure::default_3_52_1::output<string>]
id : "/subscriptions/ad73ec2e-0337-4de5-983c-3944fcb68be8/resourceGroups/rg-kubernetes"
location: "centralus"
name : "rg-kubernetes"
Do you have any insights as to how I can get my pulumi app to not touch this resource-group? I've added the protect
statement to it and I've also added a lock
in the Azure Portal. I do NOT want to accidentally delete all of our control planes and subsequently delete all of the clusters.No 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