github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/apply-provider-alias/main.tf (about)

     1  provider "aws" {
     2  	alias = "bar"
     3  }
     4  
     5  resource "aws_instance" "foo" {
     6      num = "2"
     7  }
     8  
     9  resource "aws_instance" "bar" {
    10      foo = "bar"
    11      provider = "aws.bar"
    12  }