diff --git a/README.md b/README.md index 92b333d..4a1cf2b 100644 --- a/README.md +++ b/README.md @@ -223,10 +223,8 @@ module "aws_organizations_and_sso" { | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [default\_tags](#input\_default\_tags) | Resource tags to apply across all resources | `map(string)` |
{| no | | [enable\_sso](#input\_enable\_sso) | Enable AWS SSO | `bool` | `true` | no | | [organization\_config](#input\_organization\_config) | Organization configuration | `any` |
"project": "terraform-aws-organization-and-sso"
}
{| no | -| [region](#input\_region) | AWS Region | `string` | n/a | yes | | [sso\_permission\_sets](#input\_sso\_permission\_sets) | AWS SSO Permission sets | `any` | `{}` | no | ## Outputs diff --git a/examples/accounts-and-permission-assignments/README.md b/examples/accounts-and-permission-assignments/README.md index c052baa..5278138 100644 --- a/examples/accounts-and-permission-assignments/README.md +++ b/examples/accounts-and-permission-assignments/README.md @@ -8,8 +8,6 @@ module "aws_organizations_and_sso" { source = "chris-qa-org/organzation-and-sso/aws" version = "1.0.1" - region = "eu-west-2" - sso_permission_sets = { "AdministratorAccess" = { description = "Administrator Access", diff --git a/examples/accounts-and-permission-assignments/main.tf b/examples/accounts-and-permission-assignments/main.tf index 2780454..dc1164f 100644 --- a/examples/accounts-and-permission-assignments/main.tf +++ b/examples/accounts-and-permission-assignments/main.tf @@ -2,8 +2,6 @@ module "aws_organizations_and_sso" { source = "chris-qa-org/organzation-and-sso/aws" version = "1.0.1" - region = "eu-west-2" - sso_permission_sets = { "AdministratorAccess" = { description = "Administrator Access", diff --git a/examples/existing-account-import/README.md b/examples/existing-account-import/README.md index cbdc442..728885b 100644 --- a/examples/existing-account-import/README.md +++ b/examples/existing-account-import/README.md @@ -8,8 +8,6 @@ module "aws_organizations_and_sso" { source = "chris-qa-org/organzation-and-sso/aws" version = "1.0.1" - region = "eu-west-2" - organization_config = { units = { "my-org-unit" = { diff --git a/examples/existing-account-import/main.tf b/examples/existing-account-import/main.tf index 0a9d21f..0bee4a6 100644 --- a/examples/existing-account-import/main.tf +++ b/examples/existing-account-import/main.tf @@ -2,8 +2,6 @@ module "aws_organizations_and_sso" { source = "chris-qa-org/organzation-and-sso/aws" version = "1.0.1" - region = "eu-west-2" - organization_config = { units = { "my-org-unit" = { diff --git a/locals.tf b/locals.tf index 3498765..5e4745b 100644 --- a/locals.tf +++ b/locals.tf @@ -1,7 +1,5 @@ locals { - region = var.region sso_permission_sets = var.sso_permission_sets organization_config = var.organization_config enable_sso = var.enable_sso - default_tags = var.default_tags } diff --git a/provider.tf b/provider.tf deleted file mode 100644 index dc2ee2f..0000000 --- a/provider.tf +++ /dev/null @@ -1,6 +0,0 @@ -provider "aws" { - region = local.region - default_tags { - tags = local.default_tags - } -} diff --git a/variables.tf b/variables.tf index 46052b9..8b22e3c 100644 --- a/variables.tf +++ b/variables.tf @@ -1,8 +1,3 @@ -variable "region" { - description = "AWS Region" - type = string -} - variable "sso_permission_sets" { description = "AWS SSO Permission sets" type = any @@ -23,11 +18,3 @@ variable "enable_sso" { type = bool default = true } - -variable "default_tags" { - description = "Resource tags to apply across all resources" - type = map(string) - default = { - project = "terraform-aws-organization-and-sso" - } -}
"units": {}
}