Implement updates to testing framework based on recent feedback

This commit is contained in:
Liam Cervante
2023-08-07 14:42:07 +02:00
parent 3cce200d0e
commit 126f34e4e8
16 changed files with 822 additions and 379 deletions

View File

@@ -0,0 +1,9 @@
variable "input" {
type = string
}
resource "test_resource" "module_resource" {
id = "df6h8as9"
value = var.input
}

View File

@@ -0,0 +1,9 @@
variable "input" {
type = string
}
resource "test_resource" "resource" {
id = "598318e0"
value = var.input
}

View File

@@ -0,0 +1,23 @@
# This is an example test file from a use case requested by a user. We only
# refer to alternate modules and not the main configuration. This means we
# shouldn't have to provide any data for the main configuration.
run "first" {
module {
source = "./example"
}
variables {
input = "start"
}
}
run "second" {
module {
source = "./example"
}
variables {
input = "update"
}
}