Skip to content

Commit

Permalink
Merge pull request #4 from Ontotext-AD/provide-image-licenses
Browse files Browse the repository at this point in the history
Added variable for image_licenses
  • Loading branch information
mihailradkov authored Sep 4, 2024
2 parents 692a979 + cde29ad commit 12a1c48
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the Packer configuration for creating GraphDB Google Cloud VM images will be documented in this file.

## 1.1.0

- Added `image_licenses` that will be used to associate the built VM image with Google's Marketplace VM license

## 1.0.1

- Renamed `graphdb_cluster_proxy` service to `graphdb-cluster-proxy` for consistency with the rest of our VMs
Expand Down
1 change: 1 addition & 0 deletions source.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ source "googlecompute" "ubuntu_x86_64" {
image_storage_locations = var.image_storage_locations
image_project_id = var.image_project_id
image_labels = var.image_labels
image_licenses = var.image_licenses

# Build
instance_name = "packer-${local.graphdb_image_name}"
Expand Down
6 changes: 6 additions & 0 deletions variables.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ variable "image_storage_locations" {
default = ["us-east1"]
}

variable "image_licenses" {
description = "Licenses to apply to the created VM image."
type = list(string)
default = []
}

# Build Variables

variable "build_instance_type" {
Expand Down

0 comments on commit 12a1c48

Please sign in to comment.