This message was deleted.
# general
s
This message was deleted.
q
Was a
pululmi preview --diff
tried?
j
Hi, so we have a bunch of files which are being loaded in a kubernetes configmap. Pulumi somehow thinks it has to re-create those as if the whole files have changed, but they are actually the same. I suspect it has something to do with it being windows, but if this happens every time it is not manageable
q
Is it only with k8s configmaps or are other resources also affected?
j
that and a cloudfunction, which is defined it the .ts file, however pulumi creates a file for it on disk to be uploaded in a gcs bucket, so it still has to pass to disk. Basically, everything that has to be read from disk is considered as changed even though the content is the same. The diff shows
-
for every line, and then
+
of the same thing
q
I may be wrong but I suspect it may have something to do with how new line characters are interpreted. Was the files(for eg the configmap) from windows copied to Mac to perform a
diff
?
j
files were created on mac, than committed to a git repo. On windows, did a clone and didn’t touch the files
q
Agreed. However, it was suggestion to copy one of the files from windows to Mac and perform a
diff
to rule out the possibilities of special characters
j
Ah, ok, let me ask
yes, it’s the newlines