Hey! I don't know why we do not have a "location" ...
# contributors
p
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
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
@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
@white-airport-8778 Yep, multiple products fixed.