Skip to content

❗ NOTICE (core): Stack crossRegionReferences and CfnJson fail with Error: Cannot find module '../dist/core/<file>.generated' #28465

@mrgrain

Description

@mrgrain

Status

COMPLETED

What is the issue?

Enabling the experimental crossRegionReferences on a Stack or using the core.CfnJson construct causes app synthesis to fail with Error: Cannot find module '../dist/core/<file>.generated' because the files are missing from the faulty release. If you are not using either of the two features, you will not be affected by this.

Error message

Error: Cannot find module '../dist/core/cfn-utils-provider.generated'

What is the impact?

Synth & deployment fails completely

Workaround

None.

Who is affected?

Everyone using CfnJson or has enabled the experimental crossRegionReferences on a Stack with v2.116.0

How do I resolve this?

Update to v2.116.1

Related issues

#28251 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions