Hi @rapid-soccer-18092 you should be able to use an Alias to do this - one of our community members wrote a great blog post on how they achieved this style of refactoring
So this did work for the resources I have control over. But not for the dependencies created by the chart. What can I do about those which I cannot alias?
Copy code
kubernetes:core/v1:Service (default/datadog-chart-kube-state-metrics):
error: resource default/datadog-chart-kube-state-metrics was not successfully created by the Kubernetes API server : services "datadog-chart-kube-state-metrics" already exists
kubernetes:core/v1:Service (default/datadog-chart-cluster-agent):
error: resource default/datadog-chart-cluster-agent was not successfully created by the Kubernetes API server : services "datadog-chart-cluster-agent" already exists
rapid-soccer-18092
10/07/2021, 4:10 PM
Changing the name of the chart results in changing the name of the dependency resources, so I did that. Wasn't exactly what I wanted, but alrighty
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.