Skip to content

Commit

Permalink
Merge pull request #50 from ElstonLewis/Fix_product_code_variable
Browse files Browse the repository at this point in the history
Bumped outscale plugin version to minimum 1.1.3
  • Loading branch information
ElstonLewis authored Nov 20, 2023
2 parents 5730fac + bb24a00 commit 9a50338
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export UOMI_NAME=$OUTSCALE_REGION-$OMI_NAME
# Generate OMI
export OUTSCALE_X509CERT='/var/lib/jenkins/cert/cert.pem'
export OUTSCALE_X509KEY='/var/lib/jenkins/cert/key.pem'
export PRODUCT_CODES=$OUTSCALE_PRODUCT_CODES
if [ "$VOL_SIZE" == 0 ] || [ -z "$VOL_SIZE" ]; then
unset PKR_VAR_volsize
else
Expand Down
2 changes: 1 addition & 1 deletion config.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
packer {
required_plugins {
outscale = {
version = ">= 1.1.2"
version = ">= 1.1.3"
source = "github.com/outscale/outscale"
}
}
Expand Down
2 changes: 1 addition & 1 deletion windows-sql.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "volsize" {

variable "product_codes" {
type = string
default = "${env("PRODUCT_CODES")}"
default = "${env("OUTSCALE_PRODUCT_CODES")}"
}

packer {
Expand Down

0 comments on commit 9a50338

Please sign in to comment.