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

If new local module is defined and referenced at the same time, first fogg apply fails #927

Open
vincenthsh opened this issue Sep 13, 2023 · 0 comments

Comments

@vincenthsh
Copy link
Contributor

applyEnv runs before applyModules.

fogg/apply/apply.go

Lines 92 to 95 in b1a9415

err = applyModules(fs, plan.Modules, tmpl.Module, tmpl.Common)
if err != nil {
return errs.WrapUser(err, "unable to apply modules")
}

solution: move applyModules before applyEnvs

only hit this issue in CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant