https://infracost.io logo
#contributors
Title
# contributors
p

polite-smartphone-26906

06/07/2021, 1:43 PM
Hey! I don't know why we do not have a "location" in the automation_dsc_nodeconfiguration resource, but in automation_dsc_configuration everything is fine (if the tests indicate the location is not East US, but eastus). In the nodeconfiguration file, we use the same with the logic of the configuration file:
func NewAzureRMAutomationDscNodeconfiguration(d *schema.ResourceData, u *schema.UsageData) *schema.Resource {
return &schema.Resource{
Name:           d.Address,
CostComponents: nodesCostComponent(d, u),
}
}
This is all logic in nodeconfiguration, we are using same cost component.
w

white-airport-8778

06/07/2021, 1:44 PM
Can you plz paste a link to the relevant code on github? it makes it easier to see the context of what else is happening
w

white-airport-8778

06/07/2021, 9:06 PM
@polite-smartphone-26906 yeah that is odd, I created https://github.com/infracost/infracost/issues/784 so we can investigate that issue. Did you have any luck fixing the rest of the warnings from that PR?
p

polite-smartphone-26906

06/07/2021, 9:10 PM
@white-airport-8778 Yep, multiple products fixed.
7 Views