Skip to content

Commit

Permalink
Add support to all built-in functions available on Terraform v0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gburiola committed Aug 31, 2017
1 parent b5b9a75 commit e7d4303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Terraform.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ repository:

string_interpolation_functions:
comment: Builtin functions
begin: (base64decode|base64encode|base64sha256|ceil|cidrnetmask|compact|distinct|file|floor|keys|length|lower|md5|pathexpand|replace|sha1|sha256|signum|sort|timestamp|title|trimspace|upper|uuid|values|cidrhost|cidrsubnet|coalesce|concat|element|format|formatlist|from|index|join|jsonencode|length|list|lookup|map|max|merge|min|slice|split|substr|zipmap)(\()
begin: (base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|ceil|chomp|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|flatten|floor|format|formatlist|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|md5|merge|min|pathexpand|pow|replace|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|title|trimspace|upper|urlencode|uuid|values|zipmap)(\()
beginCaptures:
'1': {name: keyword.other.function.inline.terraform}
'2': {name: keyword.other.section.begin.terraform}
Expand Down
2 changes: 1 addition & 1 deletion Terraform.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
<key>string_interpolation_functions</key>
<dict>
<key>begin</key>
<string>(base64decode|base64encode|base64sha256|ceil|cidrnetmask|compact|distinct|file|floor|keys|length|lower|md5|pathexpand|replace|sha1|sha256|signum|sort|timestamp|title|trimspace|upper|uuid|values|cidrhost|cidrsubnet|coalesce|concat|element|format|formatlist|from|index|join|jsonencode|length|list|lookup|map|max|merge|min|slice|split|substr|zipmap)(\()</string>
<string>(base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|ceil|chomp|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|flatten|floor|format|formatlist|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|md5|merge|min|pathexpand|pow|replace|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|title|trimspace|upper|urlencode|uuid|values|zipmap)(\()</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
Expand Down

0 comments on commit e7d4303

Please sign in to comment.