Open esanchezxev opened 1 day ago
This happens even if I specify --file togomak.hcl
it still attempts to use other hcl files.
Specifically I have some other Packer hcl files, this is what I get:
# togomak --file togomak.hcl
0000 • togomak (version=2.0.0-alpha.17)
Error: Unsupported block type
on /Users/user/projects/packer/my-ami/plugins.pkr.hcl line 1, in packer:
1: packer {
Blocks of type "packer" are not expected here.
notice how it attempst to interpret the plugins.pkr.hcl file as a togomak pipeline even when I specified the togomak.hcl file which is the one that has the pipeline
When I run togomak, it picks up all hcl file son my folder and attempts to interpret the mas togomak pipeline when they are not. I have a togomak.hcl but also additional hcl files. I see that I can specify the fodler where the pipelines live with the -C flag, but is there a way to specify the actual hcl file so that it doesn't attempt to use all of them? since they are not togomak file it fails.