Skip to content

Commit

Permalink
Updating the test examples with user provided account ID (#13)
Browse files Browse the repository at this point in the history
Fix summary:
-------------
We want to ensure that the account ID input is passed in the
provider block, and used in the foundational modules.

Testing:
---------
Tested the various combinations of passed/allowed accountID in the
provider with different authenticated accountID.
  • Loading branch information
ravinadhruve10 authored Aug 28, 2024
1 parent 8574354 commit a6ca4e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/examples/organization/onboarding_with_cspm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ provider "sysdig" {
}

provider "aws" {
region = "us-east-1"
region = "us-east-1"
allowed_account_ids = ["123456789101"]
}

module "onboarding" {
Expand Down
3 changes: 2 additions & 1 deletion test/examples/single_account/onboarding_with_cspm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ provider "sysdig" {
}

provider "aws" {
region = "us-east-1"
region = "us-east-1"
allowed_account_ids = ["123456789101"]
}

module "onboarding" {
Expand Down

0 comments on commit a6ca4e8

Please sign in to comment.