diff --git a/README.md b/README.md index e34020a..84b4ad0 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ module "clickops_notifications" { | [included\_users](#input\_included\_users) | List of emails that be scanned to manual actions. If empty will scan all emails. | `list(string)` | `[]` | no | | [lambda\_runtime](#input\_lambda\_runtime) | The lambda runtime to use | `string` | `"python3.8"` | no | | [log\_retention\_in\_days](#input\_log\_retention\_in\_days) | Number of days to keep CloudWatch logs | `number` | `14` | no | -| [message\_format](#input\_message\_format) | Where do you want to send this message? Only slack, for now. | `string` | `"slack"` | no | +| [message\_format](#input\_message\_format) | Where do you want to send this message? slack or msteams | `string` | `"slack"` | no | | [naming\_prefix](#input\_naming\_prefix) | Resources will be prefixed with this | `string` | `"clickops-notifier"` | no | | [tags](#input\_tags) | Tags to add to resources in addition to the default\_tags for the provider | `map(string)` | `{}` | no | | [webhook](#input\_webhook) | The webhook URL for notifications. https://api.slack.com/messaging/webhooks | `string` | n/a | yes | @@ -89,7 +89,7 @@ module "clickops_notifications" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.29.0 | +| [aws](#provider\_aws) | 4.36.1 | ---- ### Requirements @@ -129,6 +129,7 @@ locals { "signin.amazonaws.com:ExternalIdPDirectoryLogin", "signin.amazonaws.com:CredentialVerification", "signin.amazonaws.com:CredentialChallenge", + "signin.amazonaws.com:CheckMfa", "logs.amazonaws.com:StartQuery", "cloudtrail.amazonaws.com:StartQuery", diff --git a/excluded_scoped_actions.tf b/excluded_scoped_actions.tf index e0ec14a..47f0360 100644 --- a/excluded_scoped_actions.tf +++ b/excluded_scoped_actions.tf @@ -16,6 +16,7 @@ locals { "signin.amazonaws.com:ExternalIdPDirectoryLogin", "signin.amazonaws.com:CredentialVerification", "signin.amazonaws.com:CredentialChallenge", + "signin.amazonaws.com:CheckMfa", "logs.amazonaws.com:StartQuery", "cloudtrail.amazonaws.com:StartQuery", diff --git a/variables.tf b/variables.tf index 5670c50..5451cc2 100644 --- a/variables.tf +++ b/variables.tf @@ -14,7 +14,7 @@ variable "webhook" { variable "message_format" { type = string - description = "Where do you want to send this message? Only slack, for now." + description = "Where do you want to send this message? slack or msteams" default = "slack" validation {