https://pulumi.com logo
#general
Title
# general
b

big-insurance-83351

08/23/2023, 9:24 AM
Hi I need help on keep hitting Duplicate resource URN upon creating GKE, same error if I changed to random string.
s

salmon-account-74572

08/23/2023, 5:12 PM
Can you provide a few more details, perhaps including the pertinent code?
b

big-insurance-83351

08/24/2023, 6:55 AM
The code:
Pulumi preview: Keep hitting same error, no matter how many times I change the resource name.
s

salmon-account-74572

08/24/2023, 3:01 PM
Try removing the
resource_name
parameter so that Pulumi can generate a unique name, see if that helps.
b

big-insurance-83351

08/25/2023, 3:22 AM
resource_name
one of the required parameter. Lets say I just passing the value as
gke-001
or
resource_name='gke-001'
having same error. But if I'm not passing any value for resource_name, I'm getting the following error:
I got it solved by using
pulumi_google_native
package. But still I want to know why having the error on
pulumi_gcp
package.
Lets say I'm using the native package, how do I disable external IP usage.
The doc lack of explanations
I got it working by using
private_cluster_config