I noticed EngineEvents omitted by Pulumi are diffe...
# automation-api
l
I noticed EngineEvents omitted by Pulumi are different between a recently created Pulumi stack, and an older one. Any idea on why “metadata” is a dict in one instance, and type StepEventMetadata in another? Both are on the newest version of Pulumi and pulumi-aws.
Copy code
# New Pulumi Project
EngineEvent(
    ...
    resource_pre_event=ResourcePreEvent(
        metadata=StepEventMetadata(
            op=<OpType.SAME: 'same'>,
            urn='urn:pulumi:dev::...

# Old Pulumi Project
EngineEvent(
    ...
    resource_pre_event=ResourcePreEvent(
        metadata={
            'op': 'same',
            'urn': 'urn:pulumi:dev::...
b
Was there a version change between runs? Possible deserialization rules changed or something
l
Both are running under v3.34.1. I Looked through recent commits to Pulumi but it looks to me the like the EngineEvents code hasn’t been touched in a while. Perhaps there’s some sort of remnant in the stack file from the previous version causing this, but I can’t seem to track down the issue.