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
The cost.Resource and cost.ResourceDiff structs are missing any information about which provider they belong to and which type they are. Currently, the only way to extract this is from the address, however, this is being complicated by the fact that module resource addresses are different from root module ones and also by the effort that library consumers would require.
These two fields would be much better provided by us on the aforementioned types.
The text was updated successfully, but these errors were encountered:
* query: add `Type` and `Provider` to the `Resource` struct
* terraform: store resource's Type and Provider in the query.Resource
* cost: attach Provider and Type values to Resource and ResourceDiff
* aws: implement Name for Provider as the interface has changed
* mock: update the TerraformProvider mock
* CHANGELOG.md: add an entry about #42
The
cost.Resource
andcost.ResourceDiff
structs are missing any information about which provider they belong to and which type they are. Currently, the only way to extract this is from the address, however, this is being complicated by the fact that module resource addresses are different from root module ones and also by the effort that library consumers would require.These two fields would be much better provided by us on the aforementioned types.
The text was updated successfully, but these errors were encountered: