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.
terraform/testing/equivalence-tests/tests/local_provider_basic/main.tf

22 lines
300 B

terraform {
required_providers {
local = {
source = "hashicorp/local"
version = "2.2.3"
}
}
}
locals {
contents = jsonencode({
"hello" = "world"
})
}
provider "local" {}
resource "local_file" "local_file" {
filename = "output.json"
content = local.contents
}