Skip to content

Commit

Permalink
add self back
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent c0954d1 commit c336d96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dns_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ provider "aws" {
}
}

provider "aws" {
alias = "self"
assume_role {
role_arn = format("arn:%v:iam::%v:role/r-inf-terraform", data.aws_arn.current.partition, var.account_id)
session_name = var.os_username
}
}
#---
# dummy vpc, so we can associate the zone to this account
#---
Expand Down

0 comments on commit c336d96

Please sign in to comment.