Skip to content

Commit

Permalink
plugin block
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoczatek committed Sep 21, 2023
1 parent a58f59e commit 1721064
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packer/template.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1721064

Please sign in to comment.