You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_name"></a> [name](#input\_name)| (Required) The name for the AWS account. Used for the account alias. |`string`| n/a | yes |
58
+
| <aname="input_additional_regions"></a> [additional\_regions](#input\_additional\_regions)| (Optional) A set of regions to enable in the account. |`set(string)`|`[]`| no |
52
59
| <aname="input_billing_contact"></a> [billing\_contact](#input\_billing\_contact)| (Optional) The configuration of the billing contact for the AWS Account. `billing_contact` as defined below.<br> (Required) `name` - The name of the billing contact.<br> (Optional) `title` - The tile of the billing contact. Defaults to `Billing Manager`.<br> (Required) `email` - The email address of the billing contact.<br> (Required) `phone` - The phone number of the billing contact. | <pre>object({<br> name = string<br> title = optional(string, "Billing Manager")<br> email = string<br> phone = string<br> })</pre> |`null`| no |
53
60
| <aname="input_ec2_spot_datafeed_subscription"></a> [ec2\_spot\_datafeed\_subscription](#input\_ec2\_spot\_datafeed\_subscription)| (Optional) The configuration of the Spot Data Feed Subscription. `ec2_spot_datafeed_subscription` as defined below.<br> (Optional) `enabled` - Indicate whether to enable Spot Data Feed Subscription to S3 Bucket. Defaults to `false`.<br> (Optional) `s3_bucket` - The configuration of the S3 bucket where AWS deliver the spot data feed. `s3_bucket` as defined below.<br> (Required) `name` - The name of the S3 bucket where AWS deliver the spot data feed.<br> (Optional) `key_prefix` - The path of directory inside S3 bucket to place spot pricing data. | <pre>object({<br> enabled = optional(bool, false)<br> s3_bucket = optional(object({<br> name = optional(string, "")<br> key_prefix = optional(string, "")<br> }))<br> })</pre> |`{}`| no |
54
61
| <aname="input_operation_contact"></a> [operation\_contact](#input\_operation\_contact)| (Optional) The configuration of the operation contact for the AWS Account. `operation_contact` as defined below.<br> (Required) `name` - The name of the operation contact.<br> (Optional) `title` - The tile of the operation contact. Defaults to `Operation Manager`.<br> (Required) `email` - The email address of the operation contact.<br> (Required) `phone` - The phone number of the operation contact. | <pre>object({<br> name = string<br> title = optional(string, "Operation Manager")<br> email = string<br> phone = string<br> })</pre> |`null`| no |
@@ -57,11 +64,13 @@ No modules.
57
64
| <aname="input_s3_public_access_enabled"></a> [s3\_public\_access\_enabled](#input\_s3\_public\_access\_enabled)| (Optional) Whether to enable S3 account-level Public Access Block configuration. Block the public access to S3 bucket if the value is `false`. |`bool`|`false`| no |
58
65
| <aname="input_security_contact"></a> [security\_contact](#input\_security\_contact)| (Optional) The configuration of the security contact for the AWS Account. `security_contact` as defined below.<br> (Required) `name` - The name of the security contact.<br> (Optional) `title` - The tile of the security contact. Defaults to `Security Manager`.<br> (Required) `email` - The email address of the security contact.<br> (Required) `phone` - The phone number of the security contact. | <pre>object({<br> name = string<br> title = optional(string, "Security Manager")<br> email = string<br> phone = string<br> })</pre> |`null`| no |
59
66
| <aname="input_sts_global_endpoint_token_version"></a> [sts\_global\_endpoint\_token\_version](#input\_sts\_global\_endpoint\_token\_version)| (Optional) The version of the STS global endpoint token. Valid values are `v1` and<br> `v2`. Defaults to `v1`.<br> `v1` - Version 1 Tokens are valid only in AWS Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong).<br> `v2` - Version 2 tokens are valid in all Regions. However, version 2 tokens include more characters and might affect systems where you temporarily store tokens. |`string`|`"v1"`| no |
67
+
| <a name="input_support_app"></a> [support\_app](#input\_support\_app) | (Optional) The configuration of the Support App for the AWS Account. `support_app` as defined below.<br> (Optional) `account_alias` - An account alias associated with a customer's account.<br> (Optional) `slack_workspaces` - A set of team ID for each Slack workspace, which uniquely identifies a workspace.<br> (Optional) `slack_channel_configurations` - A list of configurations for each Slack channels. Each block of `slack_channel_configurations` as defined below.<br> (Optional) `name` - The name of the Slack channel configuration.<br> (Required) `workspace` - The team ID of the Slack workspace, which uniquely identifies a workspace.<br> (Required) `channel` - The ID of the Slack channel.<br> (Optional) `permission` - The permission of the default IAM role which created by this module. Valid values are `READ_ONLY` and `FULL_ACCESS`. Defaults to `FULL_ACCESS`.<br> (Optional) `channel_role` - The ARN (Amazon Resource Name) of the IAM role associated with the Support App to post messages to the Slack channel. Only required to override default role which created with `permission`.<br> (Optional) `notification_case_severity` - The severity level of the support case that a customer wants to get notified for. Valid values are `ALL`, `HIGH`, and `NONE`. Defaults to `ALL`.<br> (Optional) `notification_on_add_correspondence_to_case` - Whether to notify when a correspondence is added to a case. Defaults to `true`.<br> (Optional) `notification_on_create_or_reopen_case` - Whether to notify when a case is created or reopened. Defaults to `true`.<br> (Optional) `notification_on_resolve_case` - Whether to notify when a case is resolved. Defaults to `true`. | <pre>object({<br> account_alias = optional(string)<br> slack_workspaces = optional(set(string), [])<br> slack_channel_configurations = optional(list(object({<br> name = optional(string)<br> workspace = string<br> channel = string<br><br> # permission = optional(string, "FULL_ACCESS")<br> channel_role = optional(string)<br><br> notification_case_severity = optional(string, "ALL")<br> notification_on_add_correspondence_to_case = optional(bool, true)<br> notification_on_create_or_reopen_case = optional(bool, true)<br> notification_on_resolve_case = optional(bool, true)<br> })), [])<br> })</pre> | `{}` | no |
60
68
61
69
## Outputs
62
70
63
71
| Name | Description |
64
72
|------|-------------|
73
+
| <aname="output_additional_regions"></a> [additional\_regions](#output\_additional\_regions)| A set of additional regions enabled in the account. |
65
74
| <aname="output_billing_contact"></a> [billing\_contact](#output\_billing\_contact)| The billing contact attached to an AWS Account. |
66
75
| <aname="output_ec2"></a> [ec2](#output\_ec2)| The account-level configurations of EC2 service.<br> `spot_datafeed_subscription` - To help you understand the charges for your Spot instances, Amazon EC2 provides a data feed that describes your Spot instance usage and pricing. This data feed is sent to an Amazon S3 bucket that you specify when you subscribe to the data feed. |
67
76
| <aname="output_id"></a> [id](#output\_id)| The AWS Account ID. |
@@ -73,4 +82,5 @@ No modules.
73
82
| <aname="output_security_contact"></a> [security\_contact](#output\_security\_contact)| The security contact attached to an AWS Account. |
74
83
| <aname="output_signin_url"></a> [signin\_url](#output\_signin\_url)| The URL to signin for the AWS account. |
75
84
| <aname="output_sts"></a> [sts](#output\_sts)| The account-level configurations of STS service.<br> `global_endpoint_token_version` - The version of the STS global endpoint token. |
85
+
| <aname="output_support_app"></a> [support\_app](#output\_support\_app)| The account-level configurations of Support App service.<br> `account_alias` - The account alias associated with a customer's account. |
(Optional) The configuration of the Support App for the AWS Account. `support_app` as defined below.
179
+
(Optional) `account_alias` - An account alias associated with a customer's account.
180
+
(Optional) `slack_workspaces` - A set of team ID for each Slack workspace, which uniquely identifies a workspace.
181
+
(Optional) `slack_channel_configurations` - A list of configurations for each Slack channels. Each block of `slack_channel_configurations` as defined below.
182
+
(Optional) `name` - The name of the Slack channel configuration.
183
+
(Required) `workspace` - The team ID of the Slack workspace, which uniquely identifies a workspace.
184
+
(Required) `channel` - The ID of the Slack channel.
185
+
(Optional) `permission` - The permission of the default IAM role which created by this module. Valid values are `READ_ONLY` and `FULL_ACCESS`. Defaults to `FULL_ACCESS`.
186
+
(Optional) `channel_role` - The ARN (Amazon Resource Name) of the IAM role associated with the Support App to post messages to the Slack channel. Only required to override default role which created with `permission`.
187
+
(Optional) `notification_case_severity` - The severity level of the support case that a customer wants to get notified for. Valid values are `ALL`, `HIGH`, and `NONE`. Defaults to `ALL`.
188
+
(Optional) `notification_on_add_correspondence_to_case` - Whether to notify when a correspondence is added to a case. Defaults to `true`.
189
+
(Optional) `notification_on_create_or_reopen_case` - Whether to notify when a case is created or reopened. Defaults to `true`.
190
+
(Optional) `notification_on_resolve_case` - Whether to notify when a case is resolved. Defaults to `true`.
# error_message = "Valid values for `permission` are `READ_ONLY` and `FULL_ACCESS`."
225
+
# }
226
+
}
227
+
176
228
variable"s3_public_access_enabled" {
177
229
description="(Optional) Whether to enable S3 account-level Public Access Block configuration. Block the public access to S3 bucket if the value is `false`."
0 commit comments