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

little-journalist-4778

08/20/2021, 4:03 PM
Are you considering to allow import and edit of a resource on the same run? (maybe disabled by default)
g

gorgeous-egg-16927

08/20/2021, 10:22 PM
I don’t know if there’s an issue that applies across all providers, but this Kubernetes issue is for that feature: https://github.com/pulumi/pulumi-kubernetes/issues/264
l

little-journalist-4778

08/21/2021, 9:14 AM
Yes I'm following that, I think this is extremely important, more than ever with kubernetes resources. There are a lot of cases where you need to edit a resource that was not created by pulumi (default storage class, eks addons and so on), there are some solutions to manage this but at the moment none of them is doable: • Import the resource and allow to have different attributes on the same run of the import • Create a resource with the same id and allow to override the original one • Have a sort of a patch resource
1
At the moment I'm writing a lot of dynamic resources that do kubectl apply under the hood
👍 1