Skip to content

Remove aws provider config from module #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}