Created
July 12, 2017 01:59
-
-
Save limitusus/3cc02cd9c2fe18c188ae02cc0088b9bd to your computer and use it in GitHub Desktop.
うまくいくprovider alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "aws_acm_certificate" "cert_global" { | |
domain = "example.com" | |
provider = "aws.virginia" | |
} | |
output "certificate" { | |
value = "${data.aws_acm_certificate.cert_global.arn}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = "ap-northeast-1" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
alias = "virginia" | |
region = "us-east-1" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = "ap-northeast-1" | |
profile = "my" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment