Skip to content

Commit

Permalink
Fixes typo admininstrator => administrator
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed May 27, 2022
1 parent d3e1064 commit d825f14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/cross-account-member/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module "member" {
source = "../member"

providers = {
aws = aws.admininstrator
aws = aws.administrator
}

account_id = module.account.account.id
Expand Down
2 changes: 1 addition & 1 deletion modules/cross-account-member/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
aws = {
source = "hashicorp/aws"
version = ">= 3.29.0"
configuration_aliases = [aws.admininstrator]
configuration_aliases = [aws.administrator]
}
}
}
6 changes: 3 additions & 3 deletions tests/securityhub_cross_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ provider "aws" {
# Provider to use as the securityhub administrator
provider "aws" {
region = "us-east-1"
alias = "admininstrator"
alias = "administrator"
profile = "awsalternate" # Profile must exist in your .aws/config
}

Expand All @@ -16,15 +16,15 @@ module "securityhub_owner" {
source = "../../"

providers = {
aws = aws.admininstrator
aws = aws.administrator
}
}

module "securityhub" {
source = "../../modules/cross-account-member"

providers = {
aws.admininstrator = aws.admininstrator
aws.administrator = aws.administrator
}

# Without the following line it takes two attepts to destroy the resources created by the test
Expand Down

0 comments on commit d825f14

Please sign in to comment.