broad-zoo-34077
05/24/2021, 1:05 PMlittle-author-61621
.Get
just uses gjson under the hood. So d.Get("rules").Array()
should return an array. DynamoDB resource does a similar thing in this func: https://github.com/infracost/infracost/blob/master/internal/providers/terraform/aws/dynamodb_table.go#L119white-airport-8778
polite-smartphone-26906
05/24/2021, 1:17 PM