blob: 2fcf8051b2b3ba04752a6f64ef7afae58b3150db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
---input---
description = "Some description"
availability_zones = ["${aws_instance.web.availability_zone}-foobar"]
availability_zones = [aws_instance.web.availability_zone]
assume_role_policy = data.aws_iam_policy_document.trust.json
policy_arn = aws_iam_policy.assume_roles[0].arn
value = file("path.txt")
value = jsonencode(element("value"))
tags = {
Name = "something"
}
"ENV_VARIABLE_1" = aws_dynamodb_table.loginsights2metrics.name
"ENV_VARIABLE_2" = "Some string"
ignore_changes = [last_modified, filename]
variable = "aws:MultiFactorAuthPresent"
---tokens---
' ' Text.Whitespace
'description' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"Some description"' Literal.String.Double
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'availability_zones' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'[' Punctuation
'"${aws_instance.web.availability_zone}-foobar"' Literal.String.Double
']' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'availability_zones' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'[' Punctuation
'aws_instance.web.availability_zone' Name.Variable
']' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'assume_role_policy' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'data.aws_iam_policy_document.trust.json' Name.Variable
'\n' Text.Whitespace
' ' Text.Whitespace
'policy_arn' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'aws_iam_policy.assume_roles[0].arn' Name.Variable
'\n' Text.Whitespace
' \n ' Text.Whitespace
'value' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'file' Name.Function
'(' Punctuation
'"path.txt"' Literal.String.Double
')' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'value' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'jsonencode' Name.Function
'(' Punctuation
'element' Name.Function
'(' Punctuation
'"value"' Literal.String.Double
')' Punctuation
')' Punctuation
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'tags' Name.Builtin
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'Name' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"something"' Literal.String.Double
'\n' Text.Whitespace
' ' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'"ENV_VARIABLE_1"' Literal.String.Double
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'aws_dynamodb_table.loginsights2metrics.name' Name.Variable
'\n' Text.Whitespace
' ' Text.Whitespace
'"ENV_VARIABLE_2"' Literal.String.Double
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"Some string"' Literal.String.Double
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'ignore_changes' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'[' Punctuation
'last_modified, filename' Name.Builtin
']' Punctuation
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'variable' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"aws:MultiFactorAuthPresent"' Literal.String.Double
'\n' Text.Whitespace
|