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
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ module "sns" {
81
81
identifiers = ["*"]
82
82
}]
83
83
84
-
conditions = [{
84
+
condition = [{
85
85
test = "StringLike"
86
86
variable = "sns:Endpoint"
87
87
values = [module.sqs.queue_arn]
@@ -119,7 +119,7 @@ module "sqs" {
119
119
}
120
120
]
121
121
122
-
conditions = [{
122
+
condition = [{
123
123
test = "ArnEquals"
124
124
variable = "aws:SourceArn"
125
125
values = [module.sns.topic_arn]
@@ -205,7 +205,7 @@ No modules.
205
205
| <aname="input_create"></a> [create](#input\_create)| Whether to create SQS queue |`bool`|`true`| no |
206
206
| <aname="input_create_dlq"></a> [create\_dlq](#input\_create\_dlq)| Determines whether to create SQS dead letter queue |`bool`|`false`| no |
207
207
| <aname="input_create_dlq_queue_policy"></a> [create\_dlq\_queue\_policy](#input\_create\_dlq\_queue\_policy)| Whether to create SQS queue policy |`bool`|`false`| no |
208
-
| <aname="input_create_dlq_redrive_allow_policy"></a> [create\_dlq\_redrive\_allow\_policy](#input\_create\_dlq\_redrive\_allow\_policy)| Determines whether to create a redrive allow policy for the dead letter queue.|`bool`|`true`| no |
208
+
| <aname="input_create_dlq_redrive_allow_policy"></a> [create\_dlq\_redrive\_allow\_policy](#input\_create\_dlq\_redrive\_allow\_policy)| Determines whether to create a redrive allow policy for the dead letter queue |`bool`|`true`| no |
209
209
| <aname="input_create_queue_policy"></a> [create\_queue\_policy](#input\_create\_queue\_policy)| Whether to create SQS queue policy |`bool`|`false`| no |
210
210
| <aname="input_deduplication_scope"></a> [deduplication\_scope](#input\_deduplication\_scope)| Specifies whether message deduplication occurs at the message group or queue level |`string`|`null`| no |
211
211
| <aname="input_delay_seconds"></a> [delay\_seconds](#input\_delay\_seconds)| The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes) |`number`|`null`| no |
@@ -217,25 +217,26 @@ No modules.
217
217
| <aname="input_dlq_kms_master_key_id"></a> [dlq\_kms\_master\_key\_id](#input\_dlq\_kms\_master\_key\_id)| The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK |`string`|`null`| no |
218
218
| <aname="input_dlq_message_retention_seconds"></a> [dlq\_message\_retention\_seconds](#input\_dlq\_message\_retention\_seconds)| The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days) |`number`|`null`| no |
219
219
| <aname="input_dlq_name"></a> [dlq\_name](#input\_dlq\_name)| This is the human-readable name of the queue. If omitted, Terraform will assign a random name |`string`|`null`| no |
220
-
| <aname="input_dlq_queue_policy_statements"></a> [dlq\_queue\_policy\_statements](#input\_dlq\_queue\_policy\_statements)| A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |`any`|`{}`| no |
220
+
| <a name="input_dlq_queue_policy_statements"></a> [dlq\_queue\_policy\_statements](#input\_dlq\_queue\_policy\_statements) | A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage | <pre>map(object({<br/> sid = optional(string)<br/> actions = optional(list(string))<br/> not_actions = optional(list(string))<br/> effect = optional(string, "Allow")<br/> resources = optional(list(string))<br/> not_resources = optional(list(string))<br/> principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> not_principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> condition = optional(list(object({<br/> test = string<br/> variable = string<br/> values = list(string)<br/> })))<br/> # TODO - remove at next breaking change<br/> conditions = optional(list(object({<br/> test = string<br/> variable = string<br/> values = list(string)<br/> })))<br/> }))</pre> | `null` | no |
221
221
| <aname="input_dlq_receive_wait_time_seconds"></a> [dlq\_receive\_wait\_time\_seconds](#input\_dlq\_receive\_wait\_time\_seconds)| The time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds) |`number`|`null`| no |
222
-
| <aname="input_dlq_redrive_allow_policy"></a> [dlq\_redrive\_allow\_policy](#input\_dlq\_redrive\_allow\_policy)| The JSON policy to set up the Dead Letter Queue redrive permission, see AWS docs.|`any`|`{}`| no |
222
+
| <aname="input_dlq_redrive_allow_policy"></a> [dlq\_redrive\_allow\_policy](#input\_dlq\_redrive\_allow\_policy)| The JSON policy to set up the Dead Letter Queue redrive permission, see AWS docs |`any`|`{}`| no |
223
223
| <aname="input_dlq_sqs_managed_sse_enabled"></a> [dlq\_sqs\_managed\_sse\_enabled](#input\_dlq\_sqs\_managed\_sse\_enabled)| Boolean to enable server-side encryption (SSE) of message content with SQS-owned encryption keys |`bool`|`true`| no |
224
224
| <aname="input_dlq_tags"></a> [dlq\_tags](#input\_dlq\_tags)| A mapping of additional tags to assign to the dead letter queue |`map(string)`|`{}`| no |
225
225
| <aname="input_dlq_visibility_timeout_seconds"></a> [dlq\_visibility\_timeout\_seconds](#input\_dlq\_visibility\_timeout\_seconds)| The visibility timeout for the queue. An integer from 0 to 43200 (12 hours) |`number`|`null`| no |
226
226
| <aname="input_fifo_queue"></a> [fifo\_queue](#input\_fifo\_queue)| Boolean designating a FIFO queue |`bool`|`false`| no |
227
227
| <aname="input_fifo_throughput_limit"></a> [fifo\_throughput\_limit](#input\_fifo\_throughput\_limit)| Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group |`string`|`null`| no |
228
228
| <aname="input_kms_data_key_reuse_period_seconds"></a> [kms\_data\_key\_reuse\_period\_seconds](#input\_kms\_data\_key\_reuse\_period\_seconds)| The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours) |`number`|`null`| no |
229
229
| <aname="input_kms_master_key_id"></a> [kms\_master\_key\_id](#input\_kms\_master\_key\_id)| The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK |`string`|`null`| no |
230
-
| <aname="input_max_message_size"></a> [max\_message\_size](#input\_max\_message\_size)| The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 1048576 bytes (1024 KiB). The default for this attribute is 262144 (256 KiB).|`number`|`null`| no |
230
+
| <aname="input_max_message_size"></a> [max\_message\_size](#input\_max\_message\_size)| The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 1048576 bytes (1024 KiB). The default for this attribute is 262144 (256 KiB) |`number`|`null`| no |
231
231
| <aname="input_message_retention_seconds"></a> [message\_retention\_seconds](#input\_message\_retention\_seconds)| The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days) |`number`|`null`| no |
232
232
| <aname="input_name"></a> [name](#input\_name)| This is the human-readable name of the queue. If omitted, Terraform will assign a random name |`string`|`null`| no |
233
233
| <aname="input_override_dlq_queue_policy_documents"></a> [override\_dlq\_queue\_policy\_documents](#input\_override\_dlq\_queue\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid`|`list(string)`|`[]`| no |
234
234
| <aname="input_override_queue_policy_documents"></a> [override\_queue\_policy\_documents](#input\_override\_queue\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid`|`list(string)`|`[]`| no |
235
-
| <aname="input_queue_policy_statements"></a> [queue\_policy\_statements](#input\_queue\_policy\_statements)| A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |`any`|`{}`| no |
235
+
| <a name="input_queue_policy_statements"></a> [queue\_policy\_statements](#input\_queue\_policy\_statements) | A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage | <pre>map(object({<br/> sid = optional(string)<br/> actions = optional(list(string))<br/> not_actions = optional(list(string))<br/> effect = optional(string, "Allow")<br/> resources = optional(list(string))<br/> not_resources = optional(list(string))<br/> principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> not_principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> condition = optional(list(object({<br/> test = string<br/> variable = string<br/> values = list(string)<br/> })))<br/> # TODO - remove at next breaking change<br/> conditions = optional(list(object({<br/> test = string<br/> variable = string<br/> values = list(string)<br/> })))<br/> }))</pre> | `null` | no |
236
236
| <aname="input_receive_wait_time_seconds"></a> [receive\_wait\_time\_seconds](#input\_receive\_wait\_time\_seconds)| The time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds) |`number`|`null`| no |
237
-
| <aname="input_redrive_allow_policy"></a> [redrive\_allow\_policy](#input\_redrive\_allow\_policy)| The JSON policy to set up the Dead Letter Queue redrive permission, see AWS docs.|`any`|`{}`| no |
237
+
| <aname="input_redrive_allow_policy"></a> [redrive\_allow\_policy](#input\_redrive\_allow\_policy)| The JSON policy to set up the Dead Letter Queue redrive permission, see AWS docs |`any`|`{}`| no |
238
238
| <aname="input_redrive_policy"></a> [redrive\_policy](#input\_redrive\_policy)| The JSON policy to set up the Dead Letter Queue, see AWS docs. Note: when specifying maxReceiveCount, you must specify it as an integer (5), and not a string ("5") |`any`|`{}`| no |
239
+
| <aname="input_region"></a> [region](#input\_region)| Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |`string`|`null`| no |
239
240
| <aname="input_source_dlq_queue_policy_documents"></a> [source\_dlq\_queue\_policy\_documents](#input\_source\_dlq\_queue\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. Statements must have unique `sid`s |`list(string)`|`[]`| no |
240
241
| <aname="input_source_queue_policy_documents"></a> [source\_queue\_policy\_documents](#input\_source\_queue\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. Statements must have unique `sid`s |`list(string)`|`[]`| no |
241
242
| <aname="input_sqs_managed_sse_enabled"></a> [sqs\_managed\_sse\_enabled](#input\_sqs\_managed\_sse\_enabled)| Boolean to enable server-side encryption (SSE) of message content with SQS-owned encryption keys |`bool`|`true`| no |
0 commit comments