terraform: allow image to be empty (#2595)

* make image optional in the high level modules

* align azure variable description

* set defaults in convenience modules

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

---------

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>
This commit is contained in:
Moritz Sanft 2023-11-13 20:13:24 +01:00 committed by GitHub
parent 8e4feb7e2a
commit 8f2f8bdbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 5 deletions

View File

@ -18,7 +18,11 @@ runs:
- name: Stamp version
shell: bash
run: |
sed -i "s/@@CONSTELLATION_VERSION@@/${{ inputs.version }}/g" terraform-module/constellation-cluster/variables.tf
sed -i "s/@@CONSTELLATION_VERSION@@/${{ inputs.version }}/g" \
terraform-module/constellation-cluster/variables.tf \
terraform-module/aws-constellation/variables.tf \
terraform-module/azure-constellation/variables.tf \
terraform-module/gcp-constellation/variables.tf
- name: Zip terraform dir
shell: bash

View File

@ -5,7 +5,8 @@ variable "name" {
variable "image" {
type = string
description = "Node image reference or semantic release version."
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = "@@CONSTELLATION_VERSION@@"
}
variable "microservice_version" {

View File

@ -5,7 +5,8 @@ variable "name" {
variable "image" {
type = string
description = "Node image reference or semantical release version."
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = "@@CONSTELLATION_VERSION@@"
}
variable "microservice_version" {

View File

@ -7,7 +7,6 @@ variable "constellation_version" {
variable "image" {
type = string
description = "The node image reference or semantic release version."
default = "@@CONSTELLATION_VERSION@@"
}
variable "csp" {

View File

@ -15,7 +15,8 @@ variable "service_account_id" {
variable "image" {
type = string
description = "Node image reference or semantic release version."
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = "@@CONSTELLATION_VERSION@@"
}
variable "microservice_version" {