Skip to content

Makefile: terraform wasn't building the kdevops_nodes file#43

Merged
chucklever merged 1 commit intomainfrom
makefile-fixes
Oct 3, 2025
Merged

Makefile: terraform wasn't building the kdevops_nodes file#43
chucklever merged 1 commit intomainfrom
makefile-fixes

Conversation

@chucklever
Copy link
Contributor

When "make bringup" runs "terraform plan", it complains that the kdevops_nodes variable isn't set.

extra_vars.yaml does contain the variable, but I'm guessing that somehow gen_nodes runs after gen_tfvars now? Not really sure.

Daniel suggests:

I think it'd be best to move KDEVOPS_NODES just after we assign
the filename to it (provision.Makefile -> guestfs.Makefile):

Fixes: 5457b74 ("Makefile: fix target dependency order")

When "make bringup" runs "terraform plan", it complains that the
kdevops_nodes variable isn't set.

extra_vars.yaml does contain the variable, but I'm guessing that
somehow gen_nodes runs after gen_tfvars now? Not really sure.

Daniel suggests:
> I think it'd be best to move KDEVOPS_NODES just after we assign
> the filename to it (provision.Makefile -> guestfs.Makefile):

Fixes: 5457b74 ("Makefile: fix target dependency order")
Signed-off-by: Daniel Gomez <da.gomez@kernel.org>
@chucklever chucklever merged commit da754be into main Oct 3, 2025
22 checks passed
@chucklever chucklever deleted the makefile-fixes branch October 3, 2025 17:55
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

Successfully merging this pull request may close these issues.

2 participants