Skip to content

Commit

Permalink
Added region/profile to configure providers.tf.
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 26, 2023
1 parent f27c580 commit 8444835
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/simple/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ terraform {
}

provider "aws" {
profile = "107742151971-do2-govcloud"
region = "us-gov-east-1"
profile = var.profile
region = var.region
}
10 changes: 10 additions & 0 deletions examples/simple/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
variable "region" {
description = "AWS region"
type = string
}

variable "profile" {
description = "AWS config profile"
type = string
}

variable "cluster_name" {
description = "EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev)"
type = string
Expand Down

0 comments on commit 8444835

Please sign in to comment.