mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-10 17:20:26 -04:00
POC for enforced provisioner.
This commit is contained in:
parent
a78d832cd1
commit
62b30f577d
1 changed files with 3 additions and 3 deletions
|
|
@ -570,9 +570,9 @@ func (cfg *PackerConfig) Initialize(opts packer.InitializeOptions) hcl.Diagnosti
|
|||
}
|
||||
|
||||
func (cfg *PackerConfig) EnforceProvisioners() {
|
||||
// make call to HCP Packer registry to fetch enforced provisioners
|
||||
// we need to convert the fetched provisioners to ProvisionerBlock
|
||||
// and append them to each build's provisioner blocks
|
||||
// Fetch enforced provisioners from the HCP Packer registry.
|
||||
// Parse the raw HCL configuration into ProvisionerBlock objects.
|
||||
// Append the enforced provisioners to the build's execution plan.
|
||||
|
||||
// for point of POC, i just created a Global variable for a provisioner block thats mentioned in the template
|
||||
// we reattach the provisioner block to each build block. And as you can see,
|
||||
|
|
|
|||
Loading…
Reference in a new issue