icy-jordan-58549
12/04/2020, 4:07 PMerror: resource kube-system/coredns-custom was not successfully created by the Kubernetes API server : configmaps "coredns-custom" already exists
big-potato-91793
12/05/2020, 12:55 PMicy-jordan-58549
12/07/2020, 8:48 AMbig-potato-91793
12/07/2020, 1:06 PMconst secret = new k8s.core.v1.Secret('secret', {
metadata: {
labels: {
...context.commonLabels
},
annotations: context.commonAnnotations
},
}, {
import: 'id-of-the-resources'
});
CustomResourceOptions
that have the property import
/**
* When provided with a resource ID, import indicates that this resource's provider should import its state from
* the cloud resource with the given ID. The inputs to the resource's constructor must align with the resource's
* current state. Once a resource has been imported, the import property must be removed from the resource's
* options.
*/
import?: ID;
icy-jordan-58549
12/07/2020, 2:58 PMkube-system
by azure on cluster initgorgeous-egg-16927
12/07/2020, 4:57 PM[namespace/]name
e.g., kube-system/my-config-map
pulumi import
command to handle this for youicy-jordan-58549
12/07/2020, 5:20 PMns/config-map