diff --git a/textract-pipeline/terraform/modules/aws-textract-pipeline-part3/main.tf b/textract-pipeline/terraform/modules/aws-textract-pipeline-part3/main.tf index 2eadfb6..68b9e16 100644 --- a/textract-pipeline/terraform/modules/aws-textract-pipeline-part3/main.tf +++ b/textract-pipeline/terraform/modules/aws-textract-pipeline-part3/main.tf @@ -909,7 +909,8 @@ resource "aws_api_gateway_method" "create_batch_method" { rest_api_id = "${aws_api_gateway_rest_api.project_api.id}" resource_id = "${aws_api_gateway_resource.create_batch.id}" http_method = "POST" - authorization = "AWS_IAM" + #authorization = "AWS_IAM" + authorization = "NONE" depends_on = [ aws_api_gateway_rest_api.project_api, @@ -997,7 +998,8 @@ resource "aws_api_gateway_method" "s3_folder_detail_method" { rest_api_id = "${aws_api_gateway_rest_api.project_api.id}" resource_id = "${aws_api_gateway_resource.s3_folder_detail.id}" http_method = "POST" - authorization = "AWS_IAM" + #authorization = "AWS_IAM" + authorization = "NONE" } # API Gateway - s3 folder detail - create method response resource "aws_api_gateway_method_response" "s3_folder_detail_method_response_200" { @@ -1059,7 +1061,8 @@ resource "aws_api_gateway_method" "trigger_pipeline_method" { rest_api_id = "${aws_api_gateway_rest_api.project_api.id}" resource_id = "${aws_api_gateway_resource.trigger_pipeline.id}" http_method = "POST" - authorization = "AWS_IAM" + #authorization = "AWS_IAM" + authorization = "NONE" } # API Gateway - trigger pipeline - create method response resource "aws_api_gateway_method_response" "trigger_pipeline_method_response_200" {