You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/packer_test/common/plugin_tester/datasource/dynamic/test-fixtures/template.pkr.hcl

29 lines
483 B

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
data "scaffolding-my-datasource" "test" {
mock = "mock-config"
}
locals {
foo = data.scaffolding-my-datasource.test.foo
bar = data.scaffolding-my-datasource.test.bar
}
source "null" "basic-example" {
communicator = "none"
}
build {
sources = [
"source.null.basic-example"
]
provisioner "shell-local" {
inline = [
"echo foo: ${local.foo}",
"echo bar: ${local.bar}",
]
}
}