Skip to content

Commit 2f50479

Browse files
committed
changing over to an http gateway
1 parent 248e289 commit 2f50479

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

aws/infrastructure/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ resource "aws_sqs_queue" "subscriber_queue" {
2323
kms_data_key_reuse_period_seconds = 300
2424
}
2525

26-
resource "aws_api_gateway_rest_api" "subscriber_gateway" {
27-
name = var.api_gateway_name
26+
resource "aws_apigatewayv2_api" "subscriber_gateway" {
27+
name = var.api_gateway_name
28+
protocol_type = "HTTP"
2829
}

0 commit comments

Comments
 (0)