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"