https://pulumi.com logo
Title
a

ambitious-afternoon-55254

05/18/2023, 12:47 AM
`pulumi preview`/`pulumi up` are both giving inconsistent previews. I’ll run
pulumi preview
and it will say that I have 1 resource to delete from AWS, and then I’ll run it a few seconds later and it will report that 7 resources need to be deleted. Then I’ll run it again and there will be a completely different set of resources it wants to delete. This is all without me making any changes the the underlying resource definitions at all. Interestingly this is only happening with
aws:glue:CatalogTable
resources — my other resource types don’t seem to be impacted. My state is local in
./.pulumi
and I’m on pulumi version 3.67.1 on MacOS. Any suggestions on what might be going on?
r

red-match-15116

05/18/2023, 1:51 AM
are you creating resources inside an
.apply
?
a

ambitious-afternoon-55254

05/18/2023, 4:03 AM
@red-match-15116 No, not here.
e

elegant-window-55250

05/18/2023, 2:24 PM
Are you seeing different resources change when running
pulumi refresh
?
m

microscopic-lock-66960

05/18/2023, 3:09 PM
Are the URNs for these resources that show up for deletion static or dynamic?
a

ambitious-afternoon-55254

05/18/2023, 4:17 PM
@elegant-window-55250 Yes, it appears so.
~ aws:glue/catalogTable:CatalogTable: (update) 🔒
        [id=176915871252:ddt:infutor_reverse_email]
        [urn=urn:pulumi:jde-prod::cc-devops::aws:glue/catalogTable:CatalogTable::inf_reverse_email]
        [provider=urn:pulumi:jde-prod::cc-devops::pulumi:providers:aws::default_5_30_0::119798e2-9163-4d92-9813-9f1e1596a8f8]
        --outputs:--
      + partitionIndices : []
pulumi refresh
actually wants to update all of my Glue Tables with
update     [diff: +partitionIndices]
— but in all cases they appear to be an empty array. It also wants to refresh a bunch of other resources. All look to be minor things on that front.
@microscopic-lock-66960 They are all static URNs