You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% akamai terraform --version
akamai terraform version 1.19.0
The match string is using a variable in our Akamai property. In this case a Dollar $ character is present.
This command is used:
akamai terraform export-property --rules-as-hcl
This is a snippet of the code generation:
criterion {
regular_expression {
case_sensitive = true
match_string = "${ { user.MY_HEADER } }"
We got an error during terraform init
╷
│ Error: Missing key/value separator
│
│ on rules.tf line 870, in data "akamai_property_rules_builder" "caching_rule":
│ 870: match_string = "${ { user.MY_HEADER } }"
│
│ Expected an equals sign ("=") to mark the beginning of the attribute value.
but we expected this
match_string = "$${{user.MY_HEADER}}"
% terraform --version
Terraform v1.10.2
on darwin_arm64
The text was updated successfully, but these errors were encountered:
lsadlon
changed the title
regular_expression match_string cannot support $ by using --rules-as-hcl
DXE-4548 regular_expression match_string cannot support $ by using --rules-as-hcl
Dec 19, 2024
% akamai terraform --version
akamai terraform version 1.19.0
The match string is using a variable in our Akamai property. In this case a Dollar $ character is present.
This command is used:
akamai terraform export-property --rules-as-hcl
This is a snippet of the code generation:
criterion {
regular_expression {
case_sensitive = true
match_string = "${ { user.MY_HEADER } }"
We got an error during terraform init
╷
│ Error: Missing key/value separator
│
│ on rules.tf line 870, in data "akamai_property_rules_builder" "caching_rule":
│ 870: match_string = "${ { user.MY_HEADER } }"
│
│ Expected an equals sign ("=") to mark the beginning of the attribute value.
but we expected this
match_string = "$${{user.MY_HEADER}}"
% terraform --version
Terraform v1.10.2
on darwin_arm64
The text was updated successfully, but these errors were encountered: