Skip to content

Commit

Permalink
Merge pull request #35 from empathyco/main
Browse files Browse the repository at this point in the history
Remove aws provider config from module
  • Loading branch information
Stretch96 authored Mar 1, 2022
2 parents f37b999 + f87a6f9 commit 6dd8af0
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,8 @@ module "aws_organizations_and_sso" {

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_default_tags"></a> [default\_tags](#input\_default\_tags) | Resource tags to apply across all resources | `map(string)` | <pre>{<br> "project": "terraform-aws-organization-and-sso"<br>}</pre> | no |
| <a name="input_enable_sso"></a> [enable\_sso](#input\_enable\_sso) | Enable AWS SSO | `bool` | `true` | no |
| <a name="input_organization_config"></a> [organization\_config](#input\_organization\_config) | Organization configuration | `any` | <pre>{<br> "units": {}<br>}</pre> | no |
| <a name="input_region"></a> [region](#input\_region) | AWS Region | `string` | n/a | yes |
| <a name="input_sso_permission_sets"></a> [sso\_permission\_sets](#input\_sso\_permission\_sets) | AWS SSO Permission sets | `any` | `{}` | no |

## Outputs
Expand Down
2 changes: 0 additions & 2 deletions examples/accounts-and-permission-assignments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions examples/accounts-and-permission-assignments/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions examples/existing-account-import/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" = {
Expand Down
2 changes: 0 additions & 2 deletions examples/existing-account-import/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" = {
Expand Down
2 changes: 0 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
@@ -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
}
6 changes: 0 additions & 6 deletions provider.tf

This file was deleted.

13 changes: 0 additions & 13 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
variable "region" {
description = "AWS Region"
type = string
}

variable "sso_permission_sets" {
description = "AWS SSO Permission sets"
type = any
Expand All @@ -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"
}
}

0 comments on commit 6dd8af0

Please sign in to comment.