% 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
% 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