Support self.*
references in provisioner
, connection
and lifecycle
blocks
#859
Labels
enhancement
New feature or request
textDocument/completion
textDocument/hover
textDocument/semanticTokens
Semantic syntax highlighting
Milestone
Background
Terraform supports
self.
references withinprovisioner
andconnection
resource blocks, such ashttps://www.terraform.io/language/expressions/references#block-local-values
https://www.terraform.io/language/resources/provisioners/syntax
We don't provide any kind of support for these references and if we were to do any kind of thorough validation of them we'd probably flag them as invalid today.
UX Implications
Completion
Hover
Semantic Highlighting
Proposal
hashicorp/hcl-lang
BodyExtensions{SelfRefs bool}
intoschema.BodySchema
SelfRefs
indecoder.PathDecoder.CandidatesAtPos()
SelfRefs
indecoder.PathDecoder.HoverAtPos()
SelfRefs
indecoder.PathDecoder.SemanticTokensInFile()
hashicorp/terraform-schema
BodyExtensions{SelfRefs: true}
toprovisioner
andconnection
block bodieshashicorp/terraform-ls
terraform-schema
&hcl-lang
The text was updated successfully, but these errors were encountered: