diff --git a/hcl2template/types.required_plugins.go b/hcl2template/types.required_plugins.go index bed94fac2..5f9eae049 100644 --- a/hcl2template/types.required_plugins.go +++ b/hcl2template/types.required_plugins.go @@ -45,8 +45,9 @@ func (cfg *PackerConfig) decodeImplicitRequiredPluginsBlocks(f *hcl.File) hcl.Di // is 'implicitly used'. Here we read common configuration blocks to try to // guess plugins. - // decodeRequiredPluginsBlock needs to be called first; otherwise all - // required plugins will be implicitly required too. + // decodeRequiredPluginsBlock needs to be called before + // decodeImplicitRequiredPluginsBlocks; otherwise all required plugins will + // be implicitly required too. var diags hcl.Diagnostics