以下の内容はhttps://tech.enechange.co.jp/entry/2020/03/11/195955より取得しました。


複数リージョンのサービス使用時はMultiple Providerを使用する

Operations Tips vol5

こんにち。日中気温が20℃になると聞いて半袖シャツを着てきたけど、オフィスが寒くて帰りたくなってるCTO室のkazです。

同一のディレクトリでCloufFront用のACMやAWS Global Acceleratorを作成したい場合、Multiple Providerを使用すると便利ですよ。というお話です。

  • main.tf
provider "aws" {
  region  = "ap-northeast-1"
  profile = "terraform01"
}

// multiple provider
provider "aws" {
  region  = "us-west-2"
  alias   = "oregon"
  profile = "terraform02"
}
  • globalaccelerator_accelerato.tf
resource "aws_globalaccelerator_accelerator" "select" {
  provider = aws.oregon
(snip)



以上の内容はhttps://tech.enechange.co.jp/entry/2020/03/11/195955より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14