Skip to content

Commit

Permalink
Updates defaults for Terraform resources (#2961)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Ford <[email protected]>
  • Loading branch information
scottford-io authored Jan 7, 2024
1 parent 9f90c0b commit a068989
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions providers/terraform/resources/terraform.lr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a068989

Please sign in to comment.