Skip to content

Commit 17c09c8

Browse files
committed
revert
1 parent d65809e commit 17c09c8

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

examples/with-api-destination/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Note that this example may create resources which cost money. Run `terraform des
4242
| Name | Type |
4343
|------|------|
4444
| [aws_iam_role.eventbridge](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
45-
| [aws_sqs_queue.dlq](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sqs_queue) | resource |
4645
| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
4746
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
4847
| [aws_iam_policy_document.assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |

examples/with-api-destination/main.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ module "eventbridge" {
1818

1919
bus_name = "${random_pet.this.id}-bus"
2020
bus_description = "Event bus with API destination"
21-
dead_letter_config = {
22-
arn = aws_sqs_queue.dlq.arn
23-
}
2421

2522
attach_api_destination_policy = true
2623

@@ -251,7 +248,3 @@ module "kms" {
251248

252249
key_owners = [data.aws_caller_identity.current.arn]
253250
}
254-
255-
resource "aws_sqs_queue" "dlq" {
256-
name = "${random_pet.this.id}-dlq"
257-
}

0 commit comments

Comments
 (0)