https://pulumi.com logo
b

bumpy-summer-9075

09/22/2021, 3:26 PM
Is there a way to import all resources created by https://www.pulumi.com/docs/reference/pkg/kubernetes/yaml/configfile/ ? I've already applied the yaml file by hand and would now like pulumi to manage it.
b

billowy-army-68599

09/22/2021, 3:33 PM
you would need to iterate though the yaml file and get the resource names, you can't import directly
b

brave-ambulance-98491

09/22/2021, 5:47 PM
You should be able to use
ConfigGroup
with a
transformations
to set the
import
field on each object's options.
❤️ 1
b

bumpy-summer-9075

09/22/2021, 6:40 PM
Alright, thanks 🙂
4 Views