if i do this:

locals {
  s3_env_buckets = {
    dev     = var.dev_s3_bucket
    staging = var.staging_s3_bucket
    prod    = var.prod_s3_bucket
  }
}

module "snowflake_s3_integration" {
  source    = "./snowflake-s3-integration"
  for_each  = local.s3_env_buckets
  env       = each.key
  s3_bucket = each.value
}


can i access the snowflake_s3_integration by the keys of the s3_env_buckets for instance snowflake_s3_integration[dev]?

