Skip to content

Commit

Permalink
Add resource group to VSI validation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubee authored Jul 12, 2023
1 parent 61f3422 commit 35aee6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vsi-validation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ resource "ibm_is_instance" "validation_instance" {
zone = var.subnet_zone
keys = [var.ssh_key_id]

resource_group = var.resource_group

timeouts {
create = "15m"
update = "15m"
Expand Down
5 changes: 5 additions & 0 deletions vsi-validation/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ variable "subnet_zone" {
variable "ssh_key_id" {
description = "ID of SSH key to provision with"
type = string
}

variable "resource_group" {
description = "Resource group to provision VSI with"
type = string
}

0 comments on commit 35aee6a

Please sign in to comment.