diff --git a/vsi-validation/main.tf b/vsi-validation/main.tf index 07f4b50..a253e0b 100644 --- a/vsi-validation/main.tf +++ b/vsi-validation/main.tf @@ -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" diff --git a/vsi-validation/variables.tf b/vsi-validation/variables.tf index 964d3c8..d28ebbc 100644 --- a/vsi-validation/variables.tf +++ b/vsi-validation/variables.tf @@ -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 } \ No newline at end of file