Channels
  • n

    Neverov Dmitriy

    1 year ago
    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.
  • Ali (Infracost)

    Ali (Infracost)

    1 year ago
    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
  • n

    Neverov Dmitriy

    1 year ago
  • Ali (Infracost)

    Ali (Infracost)

    1 year ago
    @Neverov Dmitriy 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?