Skip to content

Commit

Permalink
Merge pull request #94 from lorengordon/typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon authored May 27, 2022
2 parents d3e1064 + f80c1c6 commit 7644c42
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.0
current_version = 3.0.1
commit = True
message = Bumps version to {new_version}
tag = False
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### 3.0.1

**Released**: 2022.05.27

**Commit Delta**: [Change from 3.0.0 release](https://github.com/plus3it/terraform-aws-tardigrade-security-hub/compare/3.0.0...3.0.1)

**Summary**:

* Fixes typo in provider alias, admininstrator => administrator

### 3.0.0

**Released**: 2022.05.13
2 changes: 1 addition & 1 deletion modules/cross-account-member/main.tf
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ module "member" {
source = "../member"

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

account_id = module.account.account.id
2 changes: 1 addition & 1 deletion modules/cross-account-member/versions.tf
Original file line number Diff line number Diff line change
@@ -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
@@ -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
}

@@ -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

0 comments on commit 7644c42

Please sign in to comment.