Skip to content

Commit

Permalink
Explicitly set required plugin versions. Packer update no longer allo…
Browse files Browse the repository at this point in the history
…ws bundled plugins.
  • Loading branch information
olivereri committed Dec 18, 2023
1 parent bf47800 commit 9bcea09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/packer-ghar.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build GHAR
on:
pull_request:
schedule:
- cron: '30 5 1,15 * *'
workflow_dispatch:
Expand Down
9 changes: 9 additions & 0 deletions packer/github-action-runner/variables.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
packer {
required_plugins {
amazon = {
version = ">= 1.1.0"
source = "github.com/hashicorp/amazon"
}
}
}

variable "skip_ami" {
type = bool
default = true
Expand Down

0 comments on commit 9bcea09

Please sign in to comment.