-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support trusted access with RAM (#95)
- Loading branch information
Showing
7 changed files
with
1,060 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,61 @@ | ||
variable "name" { | ||
description = "The name of the Organization." | ||
description = "(Required) The name of the Organization." | ||
type = string | ||
nullable = false | ||
} | ||
|
||
variable "all_features_enabled" { | ||
description = "Whether to create AWS Organization with all features or only consolidated billing feature." | ||
description = "(Optional) Whether to create AWS Organization with all features or only consolidated billing feature." | ||
type = bool | ||
default = true | ||
nullable = false | ||
} | ||
|
||
variable "ai_services_opt_out_policy_type_enabled" { | ||
description = "Whether to enable AI services opt-out polices in the Organization." | ||
description = "(Optional) Whether to enable AI services opt-out polices in the Organization." | ||
type = bool | ||
default = false | ||
nullable = false | ||
} | ||
|
||
variable "backup_policy_type_enabled" { | ||
description = "Whether to enable Backup polices in the Organization." | ||
description = "(Optional) Whether to enable Backup polices in the Organization." | ||
type = bool | ||
default = false | ||
nullable = false | ||
} | ||
|
||
variable "service_control_policy_type_enabled" { | ||
description = "Whether to enable Service control polices(SCPs) in the Organization." | ||
description = "(Optional) Whether to enable Service control polices(SCPs) in the Organization." | ||
type = bool | ||
default = true | ||
nullable = false | ||
} | ||
|
||
variable "tag_policy_type_enabled" { | ||
description = "Whether to enable Tag polices in the Organization." | ||
description = "(Optional) Whether to enable Tag polices in the Organization." | ||
type = bool | ||
default = false | ||
nullable = false | ||
} | ||
|
||
variable "trusted_access_enabled_service_principals" { | ||
description = "List of AWS service principal names for which you want to enable integration with the organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must `all_featrues_enabled` set to true." | ||
type = list(string) | ||
description = "(Optional) List of AWS service principal names for which you want to enable integration with the organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must `all_featrues_enabled` set to true." | ||
type = set(string) | ||
default = [] | ||
nullable = false | ||
} | ||
|
||
variable "policies" { | ||
description = "List of IDs of the policies to be attached to the Organization." | ||
description = "(Optional) List of IDs of the policies to be attached to the Organization." | ||
type = list(string) | ||
default = [] | ||
nullable = false | ||
} | ||
|
||
variable "module_tags_enabled" { | ||
description = "Whether to create AWS Resource Tags for the module informations." | ||
description = "(Optional) Whether to create AWS Resource Tags for the module informations." | ||
type = bool | ||
default = true | ||
nullable = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
terraform { | ||
required_version = ">= 1.3" | ||
required_version = ">= 1.5" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 3.65" | ||
version = ">= 5.13" | ||
} | ||
} | ||
} |
Oops, something went wrong.