From 1721064f674eea7756c760bc7d6a4f8bc57b2a6e Mon Sep 17 00:00:00 2001 From: Collin Poczatek Date: Thu, 21 Sep 2023 13:57:59 -0700 Subject: [PATCH] plugin block --- packer/template.pkr.hcl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packer/template.pkr.hcl b/packer/template.pkr.hcl index 2829799..fb5c11a 100644 --- a/packer/template.pkr.hcl +++ b/packer/template.pkr.hcl @@ -61,6 +61,15 @@ locals { is_flex_shape = substr(var.shape, -5, -1) == ".Flex" ? [1] : [] } +packer { + required_plugins { + oracle = { + version = ">= 1.0.4" + source = "github.com/hashicorp/oracle" + } + } +} + source "oracle-oci" "builder_vm" { image_name = "${var.imgprefix}-${var.shape}-${local.timestamp}" availability_domain = var.availibilty_domain