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

orange-policeman-59119

04/27/2020, 9:34 PM
Why would a Kubernetes resource not have a "unique name" if it's the only resource of its kind with that name deployed? I am seeing this error:
Copy code
kubernetes:<http://networking.k8s.io:NetworkPolicy|networking.k8s.io:NetworkPolicy> prometheus-monitoring  error: Duplicate resource URN 'urn:pulumi:review-payment-manager-fix-prometheus::payment-manager::kubernetes:<http://networking.k8s.io/v1:NetworkPolicy::prometheus-monitoring';|networking.k8s.io/v1:NetworkPolicy::prometheus-monitoring';> try giving it a unique name
There is only one
new k8s.networking.v1.NetworkPolicy('prometheus-monitoring')
call and resource as far as I can tell
jk it was called in a for loop YOLO