File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ export default {
1010 } ,
1111 'keyword' : [
1212 {
13- pattern : / (?: d a t a | r e s o u r c e ) \s + (?: " (?: \\ [ \s \S ] | [ ^ \\ " ] ) * " ) (? = \s + " [ \w - ] + " \s + \{ ) / i,
13+ pattern : / (?: d a t a | r e s o u r c e | e p h e m e r a l ) \s + (?: " (?: \\ [ \s \S ] | [ ^ \\ " ] ) * " ) (? = \s + " [ \w - ] + " \s + \{ ) / i,
1414 inside : {
1515 'type' : {
16- pattern : / ( r e s o u r c e | d a t a | \s + ) (?: " (?: \\ [ \s \S ] | [ ^ \\ " ] ) * " ) / i,
16+ pattern : / ( r e s o u r c e | d a t a | e p h e m e r a l | \s + ) (?: " (?: \\ [ \s \S ] | [ ^ \\ " ] ) * " ) / i,
1717 lookbehind : true ,
1818 alias : 'variable' ,
1919 } ,
Original file line number Diff line number Diff line change 11resource "aws_db_instance" "main" {
22data "terraform_remote_state" "main" {
3+ ephemeral "provider_type" "main" {
34output "dev_vpc_id" {
45config {
56terraform {
@@ -16,6 +17,11 @@ terraform {
1617 ["data ",
1718 ["type", "\"terraform_remote_state\""]]],
1819 ["string", ["\"main\""]],
20+ ["punctuation", "{"],
21+ ["keyword",
22+ ["ephemeral ",
23+ ["type", "\"provider_type\""]]],
24+ ["string", ["\"main\""]],
1925 ["punctuation", "{"],
2026 ["keyword",
2127 ["output",
@@ -29,4 +35,4 @@ terraform {
2935
3036----------------------------------------------------
3137
32- Checks for all keywords.
38+ Checks for all keywords.
You can’t perform that action at this time.
0 commit comments