Skip to content

Commit

Permalink
add self again
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent 5cc4528 commit ec51a22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions dns_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ provider "aws" {
}
}

provider "aws" {
alias = "self"
assume_role {
role_arn = format("arn:%v:iam::%v:role/r-inf-terraform", data.aws_arn.current.partition, local.aws_account_id)
session_name = var.os_username
}
}

#-------------------------------------------------
# network prod for shared vpcs zones
#-------------------------------------------------
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@ variable "main_dns_profile" {
default = "269244441389-lab-gov-network-nonprod"
}

# variable "dns_zone_description_prefix" {
# description = "Zone description with the org-project-program-environment"
# type = string
# default = ""
# }

variable "shared_vpc_label" {
description = "Label to use for shared VPC for flowlogs and other things"
type = string
Expand Down

0 comments on commit ec51a22

Please sign in to comment.