diff --git a/.bumpversion.cfg b/.bumpversion.cfg index b49e513..b3432d3 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.0 +current_version = 2.0.1 commit = True message = Bumps version to {new_version} tag = False diff --git a/modules/accepter/README.md b/modules/accepter/README.md index 3df8866..c8cbbda 100644 --- a/modules/accepter/README.md +++ b/modules/accepter/README.md @@ -3,13 +3,16 @@ ## Requirements -No requirements. +| Name | Version | +|------|---------| +| terraform | >= 0.13 | +| aws | >= 3.29.0 | ## Providers | Name | Version | |------|---------| -| aws | n/a | +| aws | >= 3.29.0 | ## Inputs diff --git a/modules/accepter/versions.tf b/modules/accepter/versions.tf new file mode 100644 index 0000000..966e9bd --- /dev/null +++ b/modules/accepter/versions.tf @@ -0,0 +1,10 @@ +terraform { + required_version = ">= 0.13" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 3.29.0" + } + } +} diff --git a/modules/account/README.md b/modules/account/README.md index 3895df6..970d8b3 100644 --- a/modules/account/README.md +++ b/modules/account/README.md @@ -3,13 +3,16 @@ ## Requirements -No requirements. +| Name | Version | +|------|---------| +| terraform | >= 0.13 | +| aws | >= 3.29.0 | ## Providers | Name | Version | |------|---------| -| aws | n/a | +| aws | >= 3.29.0 | ## Inputs diff --git a/modules/account/versions.tf b/modules/account/versions.tf new file mode 100644 index 0000000..966e9bd --- /dev/null +++ b/modules/account/versions.tf @@ -0,0 +1,10 @@ +terraform { + required_version = ">= 0.13" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 3.29.0" + } + } +} diff --git a/modules/action_target/README.md b/modules/action_target/README.md index c0dcdfc..e9c8390 100644 --- a/modules/action_target/README.md +++ b/modules/action_target/README.md @@ -3,13 +3,16 @@ ## Requirements -No requirements. +| Name | Version | +|------|---------| +| terraform | >= 0.13 | +| aws | >= 3.29.0 | ## Providers | Name | Version | |------|---------| -| aws | n/a | +| aws | >= 3.29.0 | ## Inputs diff --git a/modules/action_target/versions.tf b/modules/action_target/versions.tf new file mode 100644 index 0000000..966e9bd --- /dev/null +++ b/modules/action_target/versions.tf @@ -0,0 +1,10 @@ +terraform { + required_version = ">= 0.13" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 3.29.0" + } + } +} diff --git a/modules/cross-account-member/README.md b/modules/cross-account-member/README.md index e741eed..7a93fba 100644 --- a/modules/cross-account-member/README.md +++ b/modules/cross-account-member/README.md @@ -12,7 +12,6 @@ | Name | Version | |------|---------| -| aws | >= 3.29.0 | | aws.administrator | >= 3.29.0 | ## Inputs diff --git a/modules/cross-account-member/main.tf b/modules/cross-account-member/main.tf index eda9cb2..ecdaf33 100644 --- a/modules/cross-account-member/main.tf +++ b/modules/cross-account-member/main.tf @@ -18,12 +18,8 @@ module "member" { aws = aws.administrator } - account_id = data.aws_caller_identity.this.account_id + account_id = module.account.account.id email = var.member_email - - depends_on = [ - module.account - ] } # Accept invite @@ -37,8 +33,6 @@ module "accept" { ] } -data "aws_caller_identity" "this" {} - data "aws_caller_identity" "administrator" { provider = aws.administrator } diff --git a/modules/member/README.md b/modules/member/README.md index b25f389..d4c326a 100644 --- a/modules/member/README.md +++ b/modules/member/README.md @@ -3,13 +3,16 @@ ## Requirements -No requirements. +| Name | Version | +|------|---------| +| terraform | >= 0.13 | +| aws | >= 3.29.0 | ## Providers | Name | Version | |------|---------| -| aws | n/a | +| aws | >= 3.29.0 | ## Inputs diff --git a/modules/member/versions.tf b/modules/member/versions.tf new file mode 100644 index 0000000..966e9bd --- /dev/null +++ b/modules/member/versions.tf @@ -0,0 +1,10 @@ +terraform { + required_version = ">= 0.13" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 3.29.0" + } + } +} diff --git a/modules/subscriptions/README.md b/modules/subscriptions/README.md index 371837b..1302d7c 100644 --- a/modules/subscriptions/README.md +++ b/modules/subscriptions/README.md @@ -3,13 +3,16 @@ ## Requirements -No requirements. +| Name | Version | +|------|---------| +| terraform | >= 0.13 | +| aws | >= 3.29.0 | ## Providers | Name | Version | |------|---------| -| aws | n/a | +| aws | >= 3.29.0 | ## Inputs diff --git a/modules/subscriptions/versions.tf b/modules/subscriptions/versions.tf new file mode 100644 index 0000000..966e9bd --- /dev/null +++ b/modules/subscriptions/versions.tf @@ -0,0 +1,10 @@ +terraform { + required_version = ">= 0.13" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 3.29.0" + } + } +}