Open
Description
I've found an issue with the module where if a customer has multiple billing accounts in metro the data source provider for searching accounts returns an error stating multiple responses have been returned. Thus needing to be more explicit with the search criteria.
Current Code - based on a metro and only allows for 1 account number.
data "equinix_network_account" "this" {
for_each = toset(values(local.metro_codes))
metro_code = each.key
status = "Active"
}
Workaround
data "equinix_network_account" "this" {
for_each = toset(values(local.metro_codes))
metro_code = each.key
status = "Active"
name = "<insert name of billing account>" <- more filtering to return a value
}
Proposed fix is add an additional field to the parameter input for the module?
Metadata
Assignees
Labels
No labels