Skip to content

Commit 248e289

Browse files
committed
Adding the api gateway resource
1 parent 387ef35 commit 248e289

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aws/infrastructure/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ resource "aws_sqs_queue" "subscriber_queue" {
2121
name = var.queue_name
2222
kms_master_key_id = "alias/aws/sqs"
2323
kms_data_key_reuse_period_seconds = 300
24+
}
25+
26+
resource "aws_api_gateway_rest_api" "subscriber_gateway" {
27+
name = var.api_gateway_name
2428
}

0 commit comments

Comments
 (0)