Skip to content

Commit

Permalink
no profile?
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent 0f0a969 commit e150438
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dns_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ locals {
cluster_domain_name = format("%v.%v", var.cluster_name, local.vpc_domain_name)
cluster_domain_description = format("%v EKS Cluster DNS Zone", var.cluster_name)
region = var.region
zone_ids = compact(var.zone_ids)
}

#---
# network prod
#---
provider "aws" {
alias = "route53_main_east"
profile = var.profile
region = var.region_map["east"]
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)
Expand All @@ -20,7 +20,6 @@ provider "aws" {

provider "aws" {
alias = "route53_main_west"
profile = var.profile
region = var.region_map["west"]
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)
Expand Down

0 comments on commit e150438

Please sign in to comment.