mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
19 lines
349 B
HCL
19 lines
349 B
HCL
run "validate_ephemeral_input" {
|
|
variables {
|
|
foo = "bar"
|
|
}
|
|
assert {
|
|
condition = var.foo == "bar"
|
|
error_message = "Should be accessible"
|
|
}
|
|
}
|
|
|
|
run "validate_ephemeral_input_is_ephemeral" {
|
|
variables {
|
|
foo = "bar"
|
|
}
|
|
assert {
|
|
condition = ephemeralasnull(var.foo) == null
|
|
error_message = "Should be ephemeral"
|
|
}
|
|
}
|