SumoLogic/terraform-provider-sumologic

questions: support multiple accounts

Opened this issue · 0 comments

for scenarios like us, we have multiple sumologic accounts, and we are using environment variables to set access id/key, it would be nice to support multiple accounts. i know its possible to pass in variables for different accounts. just wondering if there is better way.

provider "sumologic" {
  # can be sourced from the SUMOLOGIC_ENVIRONMENT environment variable
  # need to set up env vars:SUMOLOGIC_ACCESSID and SUMOLOGIC_ACCESSKEY to auth successfully
  environment = "de"
alias = "de"
}
provider "sumologic" {
  # can be sourced from the SUMOLOGIC_ENVIRONMENT environment variable
  # need to set up env vars:SUMOLOGIC_ACCESSID and SUMOLOGIC_ACCESSKEY to auth successfully
  environment = "au"
}