Skip to content

Commit

Permalink
set defaults in convenience modules
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Sanft <[email protected]>
  • Loading branch information
msanft committed Nov 13, 2023
1 parent deea0a3 commit 8df2c11
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/actions/upload_terraform_module/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion terraform/aws-constellation/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ variable "name" {
variable "image" {
type = string
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = ""
default = "@@CONSTELLATION_VERSION@@"
}

variable "microservice_version" {
Expand Down
2 changes: 1 addition & 1 deletion terraform/azure-constellation/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ variable "name" {
variable "image" {
type = string
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = ""
default = "@@CONSTELLATION_VERSION@@"
}

variable "microservice_version" {
Expand Down
1 change: 0 additions & 1 deletion terraform/constellation-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion terraform/gcp-constellation/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "service_account_id" {
variable "image" {
type = string
description = "Node image reference or semantic release version. When not set, the latest default version will be used."
default = ""
default = "@@CONSTELLATION_VERSION@@"
}

variable "microservice_version" {
Expand Down

0 comments on commit 8df2c11

Please sign in to comment.