mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
8a3559560d
When a resource has only a single key set, the HCL parser treats that key as part of the overall set of object keys. This isn't valid since we expect resources to have exactly two keys. In this scenario, we have to "unwrap" the keys back into a set of objects.
12 lines
182 B
JSON
12 lines
182 B
JSON
{
|
|
"resource" : {
|
|
"aws_security_group" : {
|
|
"allow_external_http_https" : {
|
|
"tags" : {
|
|
"Name" : "allow_external_http_https"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|