Skip to content

Commit

Permalink
Make it slightly harder to deploy to incorrect AWS accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryGSC committed Jun 25, 2024
1 parent 8042524 commit b1494e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ terraform {
provider "aws" {
region = "us-west-2"

allowed_account_ids = [var.aws_account_id]

default_tags {
tags = {
app = local.name
Expand Down
2 changes: 2 additions & 0 deletions terraform/setup/setup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ terraform {
provider "aws" {
region = "us-west-2"

allowed_account_ids = [var.aws_account_id]

default_tags {
tags = {
app = local.name
Expand Down

0 comments on commit b1494e5

Please sign in to comment.