Why would a Kubernetes resource not have a "unique...
# general
o
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