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
# To redirect event URL in post through Identity Center, e.g.:
53
+
identity_center_start_url = "<your start url>"
54
+
identity_center_role = "<your role - consistent across all accounts - namely read only>
51
55
}
52
56
```
53
57
@@ -130,7 +134,7 @@ Frequently (quartley at least) check and upgrade:
130
134
| <aname="input_enable_teams"></a> [enable\_teams](#input\_enable\_teams)| To send to teams, set to true |`bool`|`false`| no |
131
135
| <aname="input_identity_center_role"></a> [identity\_center\_role](#input\_identity\_center\_role)| The name of the role to use when redirecting through Identity Center |`string`|`null`| no |
132
136
| <aname="input_identity_center_start_url"></a> [identity\_center\_start\_url](#input\_identity\_center\_start\_url)| The start URL of your Identity Center instance |`string`|`null`| no |
133
-
| <aname="input_post_icons_url"></a> [post\_icons\_url](#input\_post\_icons\_url)| URLs (not base64 encoded!) to publically available icons for highlighting posts of error and/or warning status. Ideally 50px square. Set to non-existent URLs to disable icons | <pre>object({<br> error_url = string<br> warning_url = string<br> })</pre> | <pre>{<br> "error_url": "https://sa-251-emblems.s3.eu-west-1.amazonaws.com/attention-50px.png",<br> "warning_url": "https://sa-251-emblems.s3.eu-west-1.amazonaws.com/warning-50px.png"<br>}</pre> | no |
137
+
| <aname="input_post_icons_url"></a> [post\_icons\_url](#input\_post\_icons\_url)| URLs (not base64 encoded!) to publically available icons for highlighting posts of error and/or warning status. Ideally 50px square. Set to non-existent URLs to disable icons | <pre>object({<br> error_url = string<br> warning_url = string<br> })</pre> | <pre>{<br> "error_url": "https://raw.githubusercontent.com/appvia/terraform-aws-notifications/main/resources/posts-attention-icon.png",<br> "warning_url": "https://raw.githubusercontent.com/appvia/terraform-aws-notifications/main/resources/posts-warning-icon.png"<br>}</pre> | no |
134
138
| <aname="input_slack"></a> [slack](#input\_slack)| The configuration for Slack notifications | <pre>object({<br> lambda_name = optional(string, "slack-notify")<br> # The name of the lambda function to create <br> lambda_description = optional(string, "Lambda function to send slack notifications")<br> # The description for the slack lambda<br> secret_name = optional(string)<br> # An optional secret name in secrets manager to use for the slack configuration <br> webhook_url = optional(string)<br> # The webhook url to post to<br> filter_policy = optional(string)<br> # An optional SNS subscription filter policy to apply<br> filter_policy_scope = optional(string)<br> # If filter policy provided this is the scope of that policy; either "MessageAttributes" (default) or "MessageBody"<br> })</pre> |`null`| no |
135
139
| <aname="input_sns_topic_policy"></a> [sns\_topic\_policy](#input\_sns\_topic\_policy)| The policy to attach to the sns topic, else we default to account root |`string`|`null`| no |
136
140
| <aname="input_subscribers"></a> [subscribers](#input\_subscribers)| Optional list of custom subscribers to the SNS topic | <pre>map(object({<br> protocol = string<br> # The protocol to use. The possible values for this are: sqs, sms, lambda, application. (http or https are partially supported, see below).<br> endpoint = string<br> # The endpoint to send data to, the contents will vary with the protocol. (see below for more information)<br> endpoint_auto_confirms = bool<br> # Boolean indicating whether the end point is capable of auto confirming subscription e.g., PagerDuty (default is false)<br> raw_message_delivery = bool<br> # Boolean indicating whether or not to enable raw message delivery (the original message is directly passed, not wrapped in JSON with the original message in the message property) (default is false)<br> }))</pre> |`{}`| no |
| <aname="input_accounts_id_to_name"></a> [accounts\_id\_to\_name](#input\_accounts\_id\_to\_name)| A mapping of account id and account name - used by notification lamdba to map an account ID to a human readable name |`map(string)`|`{}`| no |
134
134
| <aname="input_architecture"></a> [architecture](#input\_architecture)| Instruction set architecture for your Lambda function. Valid values are "x86\_64" or "arm64". |`string`|`"arm64"`| no |
135
-
| <aname="input_aws_powertools_log_level"></a> [aws\_powertools\_log\_level](#input\_aws\_powertools\_log\_level)| The log level for aws powertools |`string`|`"DEBUG"`| no |
136
135
| <aname="input_aws_powertools_service_name"></a> [aws\_powertools\_service\_name](#input\_aws\_powertools\_service\_name)| The service name to use |`string`|`"appvia-notifications"`| no |
137
136
| <aname="input_cloudwatch_log_group_kms_key_id"></a> [cloudwatch\_log\_group\_kms\_key\_id](#input\_cloudwatch\_log\_group\_kms\_key\_id)| The ARN of the KMS Key to use when encrypting log data for Lambda |`string`|`null`| no |
138
137
| <aname="input_cloudwatch_log_group_retention_in_days"></a> [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days)| Specifies the number of days you want to retain log events in log group for Lambda. |`number`|`0`| no |
@@ -143,7 +142,6 @@ Subsumed by appvia's GNU V3 license; [see license](../../LICENSE).
143
142
| <aname="input_enable_slack"></a> [enable\_slack](#input\_enable\_slack)| To send to slack, set to true |`bool`|`false`| no |
144
143
| <aname="input_enable_sns_topic_delivery_status_logs"></a> [enable\_sns\_topic\_delivery\_status\_logs](#input\_enable\_sns\_topic\_delivery\_status\_logs)| Whether to enable SNS topic delivery status logs |`bool`|`false`| no |
145
144
| <aname="input_enable_teams"></a> [enable\_teams](#input\_enable\_teams)| To send to teams, set to true |`bool`|`false`| no |
146
-
| <aname="input_hash_extra"></a> [hash\_extra](#input\_hash\_extra)| The string to add into hashing function. Useful when building same source path for different functions. |`string`|`""`| no |
147
145
| <aname="input_iam_policy_path"></a> [iam\_policy\_path](#input\_iam\_policy\_path)| Path of policies to that should be added to IAM role for Lambda Function |`string`|`null`| no |
148
146
| <aname="input_iam_role_boundary_policy_arn"></a> [iam\_role\_boundary\_policy\_arn](#input\_iam\_role\_boundary\_policy\_arn)| The ARN of the policy that is used to set the permissions boundary for the role |`string`|`null`| no |
149
147
| <aname="input_iam_role_name_prefix"></a> [iam\_role\_name\_prefix](#input\_iam\_role\_name\_prefix)| A unique role name beginning with the specified prefix |`string`|`"lambda"`| no |
@@ -167,7 +165,6 @@ Subsumed by appvia's GNU V3 license; [see license](../../LICENSE).
167
165
| <aname="input_python_runtime"></a> [python\_runtime](#input\_python\_runtime)| The lambda python runtime |`string`|`"python3.12"`| no |
168
166
| <aname="input_recreate_missing_package"></a> [recreate\_missing\_package](#input\_recreate\_missing\_package)| Whether to recreate missing Lambda package if it is missing locally or not |`bool`|`true`| no |
169
167
| <aname="input_reserved_concurrent_executions"></a> [reserved\_concurrent\_executions](#input\_reserved\_concurrent\_executions)| The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations |`number`|`-1`| no |
170
-
| <aname="input_slack_emoji"></a> [slack\_emoji](#input\_slack\_emoji)| A custom emoji that will appear on Slack messages |`string`|`":aws:"`| no |
171
168
| <aname="input_sns_topic_feedback_role_description"></a> [sns\_topic\_feedback\_role\_description](#input\_sns\_topic\_feedback\_role\_description)| Description of IAM role to use for SNS topic delivery status logging |`string`|`null`| no |
172
169
| <aname="input_sns_topic_feedback_role_force_detach_policies"></a> [sns\_topic\_feedback\_role\_force\_detach\_policies](#input\_sns\_topic\_feedback\_role\_force\_detach\_policies)| Specifies to force detaching any policies the IAM role has before destroying it. |`bool`|`true`| no |
173
170
| <aname="input_sns_topic_feedback_role_name"></a> [sns\_topic\_feedback\_role\_name](#input\_sns\_topic\_feedback\_role\_name)| Name of the IAM role to use for SNS topic delivery status logging |`string`|`null`| no |
0 commit comments