From 13fc395d5a9e5838649659b2b7658c0c58218572 Mon Sep 17 00:00:00 2001 From: Tom Webber Date: Wed, 11 Oct 2023 16:08:45 +0100 Subject: [PATCH] fix resource name --- terraform/environments/data-platform/api.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/data-platform/api.tf b/terraform/environments/data-platform/api.tf index 5913903d79c..551790afbd3 100644 --- a/terraform/environments/data-platform/api.tf +++ b/terraform/environments/data-platform/api.tf @@ -178,7 +178,7 @@ resource "aws_api_gateway_method" "get_schema_for_data_product_table_name" { # /data-product/{data-product-name}/table/{table-name}/schema lambda integration resource "aws_api_gateway_integration" "get_schema_for_data_product_table_name_to_lambda" { http_method = aws_api_gateway_method.get_schema_for_data_product_table_name.http_method - resource_id = aws_api_gateway_resource.get_schema_for_data_product_table_name.id + resource_id = aws_api_gateway_resource.schema_for_data_product_table_name.id rest_api_id = aws_api_gateway_rest_api.data_platform.id integration_http_method = "POST" type = "AWS_PROXY"