Skip to content

Instantly share code, notes, and snippets.

@limitusus
Created July 12, 2017 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save limitusus/3cc02cd9c2fe18c188ae02cc0088b9bd to your computer and use it in GitHub Desktop.
Save limitusus/3cc02cd9c2fe18c188ae02cc0088b9bd to your computer and use it in GitHub Desktop.
うまくいくprovider alias
data "aws_acm_certificate" "cert_global" {
domain = "example.com"
provider = "aws.virginia"
}
output "certificate" {
value = "${data.aws_acm_certificate.cert_global.arn}"
}
provider "aws" {
region = "ap-northeast-1"
}
provider "aws" {
alias = "virginia"
region = "us-east-1"
}
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