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

refactoring: Move nested modules #30233

Merged
merged 1 commit into from
Dec 22, 2021
Merged

Commits on Dec 21, 2021

  1. refactoring: Move nested modules

    When applying module `moved` statements by iterating through modules in
    state, we previously required an exact match from the `moved`
    statement's `from` field and the module address. This permitted moving
    resources directly inside a module, but did not recur into module calls
    within those moved modules.
    
    This commit moves that exact match requirement so that it only applies
    to `moved` statements targeting resources. In turn this allows nested
    modules to be moved.
    alisdair committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    d7ef123 View commit details
    Browse the repository at this point in the history