From a0689893404533279e204398da2c8382b9668fc4 Mon Sep 17 00:00:00 2001 From: Scott Ford <49754039+scottford-io@users.noreply.github.com> Date: Sat, 6 Jan 2024 22:01:08 -0500 Subject: [PATCH] Updates defaults for Terraform resources (#2961) Signed-off-by: Scott Ford --- providers/terraform/resources/terraform.lr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/providers/terraform/resources/terraform.lr b/providers/terraform/resources/terraform.lr index ebd8a663f1..dd90d96a35 100644 --- a/providers/terraform/resources/terraform.lr +++ b/providers/terraform/resources/terraform.lr @@ -27,7 +27,7 @@ terraform { } // Terraform configuration file (.tf or .tf.json file) -terraform.file { +terraform.file @defaults("path") { // Terraform (.tf or tf.json file) path string // All blocks within the file @@ -71,7 +71,7 @@ terraform.block @defaults("type labels") { } // Terraform module block -terraform.module @defaults("key") { +terraform.module @defaults("key source") { // Unique identifier for the module key string // Source from which the module was loaded @@ -112,7 +112,7 @@ terraform.state { } // Terraform state output values -terraform.state.output { +terraform.state.output @defaults("identifier") { init(identifier string) // Output identifier identifier string @@ -136,7 +136,7 @@ terraform.state.module @defaults("address") { } // Terraform state resource -terraform.state.resource @defaults("name") { +terraform.state.resource @defaults("type name") { // Address is the absolute resource address address string // Mode: managed or data