Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): move mountable's asset to scope of target #369

Merged
merged 1 commit into from
Mar 31, 2021

Commits on Mar 29, 2021

  1. fix(core): Move mountable's asset to scope of target

    We're unable to update the mountable's scripts without a full tear-down of all consuming stacks.
    This moves the assets to the target's stack instead of the Mountable's stack to avoid exports in
    cross-stack usage.
    
    BREAKING CHANGE: Stacks set up like our examples will see an error regarding being unable to
     delete an export in use when deploying a stack update. To bypass, use cdk deploy's -e option
     to deploy each stack upstream of the Mountable's stack before updating the Mountable's stack. e.g.
    - cdk deploy -e ComputeTier; cdk deploy -e ServiceTier; cdk deploy -e StorageTier
    ddneilson committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    9ddfe9d View commit details
    Browse the repository at this point in the history