sparse-intern-71089
12/04/2020, 4:07 PMbig-potato-91793
12/05/2020, 12:55 PMbig-potato-91793
12/05/2020, 12:55 PMicy-jordan-58549
12/07/2020, 8:48 AMicy-jordan-58549
12/07/2020, 11:59 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'
});
big-potato-91793
12/07/2020, 1:07 PMCustomResourceOptions
that have the property import
big-potato-91793
12/07/2020, 1:07 PM/**
* 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 PMicy-jordan-58549
12/07/2020, 2:58 PMicy-jordan-58549
12/07/2020, 2:59 PMkube-system
by azure on cluster initgorgeous-egg-16927
12/07/2020, 4:57 PM[namespace/]name
e.g., kube-system/my-config-map
gorgeous-egg-16927
12/07/2020, 4:57 PMpulumi import
command to handle this for yougorgeous-egg-16927
12/07/2020, 4:58 PMicy-jordan-58549
12/07/2020, 5:20 PMns/config-map