Skip to content

Commit

Permalink
additional gcloud machine module fixes (#79)
Browse files Browse the repository at this point in the history
Ref: #78
  • Loading branch information
mw2q authored Jul 18, 2023
2 parents a7010ac + f2b38cc commit 47001ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edbterraform/data/terraform/gcloud/modules/machine/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ resource "google_compute_disk" "volumes" {
size = each.value.size_gb
zone = var.machine.spec.zone
provisioned_iops = try(each.value.iops, null)
# Implicit dependency to aws_ebs_volume.ebs_volume
labels = can(null_resource.ensure_ssh_open) ? var.tags : var.tags
# Implicit dependency to previous step
labels = can(null_resource.ensure_ssh_open) ? local.labels : local.labels

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ variable "operating_system" {
family = optional(string)
project = optional(string)
ssh_user = string
ssh_public_key_file = string
ssh_private_key_file = string
})

validation {
Expand Down

0 comments on commit 47001ff

Please sign in to comment.