From 2f5047904057e325f0468764df6b73316ec63834 Mon Sep 17 00:00:00 2001 From: BobJWalker Date: Mon, 25 Oct 2021 10:47:04 -0500 Subject: [PATCH] changing over to an http gateway --- aws/infrastructure/main.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aws/infrastructure/main.tf b/aws/infrastructure/main.tf index fb7f72e..5bc861c 100644 --- a/aws/infrastructure/main.tf +++ b/aws/infrastructure/main.tf @@ -23,6 +23,7 @@ resource "aws_sqs_queue" "subscriber_queue" { kms_data_key_reuse_period_seconds = 300 } -resource "aws_api_gateway_rest_api" "subscriber_gateway" { - name = var.api_gateway_name +resource "aws_apigatewayv2_api" "subscriber_gateway" { + name = var.api_gateway_name + protocol_type = "HTTP" } \ No newline at end of file