-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm trying to set the value of default_value to something like this:
default_value = {
blah = {
blee = "42"
blorp = true
}
myArray = [ "first", "second" ]
}However, I get the following error when running terraform plan:
| Error: Incorrect attribute value type
│
│ on dyconf_app-config.tf line 7, in resource "statsig_dynamic_config" "app_config":
│ 7: default_value = {
│ 8: blah = {
│ 9: blee = "42"
│ 10: blorp = true
│ 11: }
│ 12: myArray = ["first", "second"]
│ 13: }
│
│ Inappropriate value for attribute "default_value": element "blah": string required.
This seems to be because default_value is typed as map(string). However, the API docs list it as just being a JSON object with any properties in it.
I tried just using default_value_json5 instead (without default_value) but I get a 400 response every time I try to do that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels