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
I tried to follow the example —— Using an Excel with a config schema.
`data "config_workbook" "excel" {
excel = "filename.xlsx"
worksheet = "Sheet1"
schema = file("schema.json")
}
output test {
value = jsondecode(data.config_workbook.excel.json)
}`
But it seemed the config-schema didn't work and I got "attr" and "tags" in the output: test = { "vpc" = [ { "attr1" = "my_vpc" "attr2" = "1" "attr3" = "10.0.0.0/16" "tags" = {} }, { "attr1" = "2nd_vpc" "attr2" = "1" "attr3" = "20.0.0.0/16" "tags" = {} }, ] }
My terraform version is 1.6.6 and the config version is 0.2.8. If I don't use the config-schema, is there any way to remove the "tags" field? Thanks.
The text was updated successfully, but these errors were encountered:
Hi Ariel,
I tried to follow the example —— Using an Excel with a config schema.
`data "config_workbook" "excel" {
excel = "filename.xlsx"
worksheet = "Sheet1"
schema = file("schema.json")
}
output test {
value = jsondecode(data.config_workbook.excel.json)
}`
But it seemed the config-schema didn't work and I got "attr" and "tags" in the output:
test = { "vpc" = [ { "attr1" = "my_vpc" "attr2" = "1" "attr3" = "10.0.0.0/16" "tags" = {} }, { "attr1" = "2nd_vpc" "attr2" = "1" "attr3" = "20.0.0.0/16" "tags" = {} }, ] }
My terraform version is 1.6.6 and the config version is 0.2.8. If I don't use the config-schema, is there any way to remove the "tags" field? Thanks.
The text was updated successfully, but these errors were encountered: