Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packer/openstack.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ variable "floating_ip_network" {
default = null
}

variable "floating_ip" {
type = string
description = "ID of pre-existing FIP to attach. Note floating_ip_network is not required when using this"
default = null
}

variable "manifest_output_path" {
type = string
default = "packer-manifest.json"
Expand Down Expand Up @@ -162,6 +168,7 @@ source "openstack" "openhpc" {
}
networks = var.networks
floating_ip_network = var.floating_ip_network
floating_ip = var.floating_ip
security_groups = var.security_groups

# Input image:
Expand Down