Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump AWS API Gateway Terraform module from 0.11.0 to 1.1.0 #47

Merged
merged 1 commit into from
Jun 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "image_optimizer" {
allowed_triggers = {
AllowExecutionFromAPIGateway = {
service = "apigateway"
arn = module.api_gateway.this_apigatewayv2_api_execution_arn
arn = module.api_gateway.apigatewayv2_api_execution_arn
}
}

Expand All @@ -60,7 +60,7 @@ module "image_optimizer" {
#########################
module "api_gateway" {
source = "terraform-aws-modules/apigateway-v2/aws"
version = "0.11.0"
version = "1.1.0"

name = var.deployment_name
description = "Managed by Terraform-next.js image optimizer"
Expand Down Expand Up @@ -139,7 +139,7 @@ locals {

cloudfront_origin_image_optimizer = merge(
{
domain_name = trimprefix(module.api_gateway.this_apigatewayv2_api_api_endpoint, "https://")
domain_name = trimprefix(module.api_gateway.apigatewayv2_api_api_endpoint, "https://")
origin_id = var.cloudfront_origin_id

custom_origin_config = {
Expand Down