Skip to content

Commit

Permalink
add profile
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 2, 2023
1 parent 204b98f commit 0307491
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/full-cluster-tf-upgrade/1.24/dns-zone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ output "cluster_domain_ns" {
# network prod
#---
provider "aws" {
alias = "route53_main"
region = var.region_map["east"]
alias = "route53_main"
region = var.region_map["east"]
profile = var.profile
assume_role {
role_arn = format("arn:%v:iam::%v:role/r-inf-terraform-route53", data.aws_arn.current.partition, var.route53_endpoints["route53_main"].account_id)
session_name = var.os_username
Expand Down Expand Up @@ -112,8 +113,9 @@ module "route53_main_west" {
# do2-gov ("legacy")
#---
provider "aws" {
alias = "route53_main_legacy"
region = var.region_map["east"]
alias = "route53_main_legacy"
region = var.region_map["east"]
profile = var.profile
assume_role {
role_arn = format("arn:%v:iam::%v:role/r-inf-terraform-route53", data.aws_arn.current.partition, var.route53_endpoints["route53_main_legacy"].account_id)
session_name = var.os_username
Expand Down

0 comments on commit 0307491

Please sign in to comment.