github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/plan-provider-input/main.tf (about)

     1  variable "users" {
     2      default = {
     3          one = "onepw"
     4          two = "twopw"
     5      }
     6  }
     7  
     8  provider "test" {
     9      url = "example.com"
    10      
    11      dynamic "auth" {
    12          for_each = var.users
    13          content {
    14              user     = auth.key
    15              password = auth.value
    16          }
    17      }
    18  }
    19  
    20  resource "test_instance" "test" {}