-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add batch creation endpoint to API Gateway with POST method and… #50
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
Merged
maxsonferovante
merged 1 commit into
main
from
feature/create-certificates-batch-endpoint
Dec 6, 2025
Merged
feat: add batch creation endpoint to API Gateway with POST method and… #50
maxsonferovante
merged 1 commit into
main
from
feature/create-certificates-batch-endpoint
Dec 6, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… API key requirement
Terraform Plan (shared)No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed. |
Terraform Plan (dev)Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
+/- create replacement and then destroy
Terraform will perform the following actions:
# module.api_gateway.aws_api_gateway_deployment.api_deployment must be replaced
+/- resource "aws_api_gateway_deployment" "api_deployment" {
~ created_date = "2025-12-02T15:52:23Z" -> (known after apply)
~ id = "er4f8e" -> (known after apply)
~ triggers = { # forces replacement
~ "redeployment" = "9076627741e35e8aaf22476fa6ac9a14dc530325" -> "e74dfb9a1c06abee6f24c9b881aa7c4f9330031d"
}
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.cors_integrations["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_integration" "cors_integrations" {
+ cache_namespace = (known after apply)
+ connection_type = "INTERNET"
+ http_method = "OPTIONS"
+ id = (known after apply)
+ passthrough_behavior = (known after apply)
+ region = "us-east-1"
+ request_templates = {
+ "application/json" = jsonencode(
{
+ statusCode = 200
}
)
}
+ resource_id = (known after apply)
+ rest_api_id = "mpl8es0cb7"
+ timeout_milliseconds = 29000
+ type = "MOCK"
}
# module.api_gateway.aws_api_gateway_integration.lambda_integrations["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_integration" "lambda_integrations" {
+ cache_namespace = (known after apply)
+ connection_type = "INTERNET"
+ http_method = "POST"
+ id = (known after apply)
+ integration_http_method = "POST"
+ passthrough_behavior = (known after apply)
+ region = "us-east-1"
+ resource_id = (known after apply)
+ rest_api_id = "mpl8es0cb7"
+ timeout_milliseconds = 29000
+ type = "AWS_PROXY"
+ uri = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-api-dev/invocations"
}
# module.api_gateway.aws_api_gateway_integration_response.cors_integration_responses["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_integration_response" "cors_integration_responses" {
+ http_method = "OPTIONS"
+ id = (known after apply)
+ region = "us-east-1"
+ resource_id = (known after apply)
+ response_parameters = {
+ "method.response.header.Access-Control-Allow-Headers" = "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'"
+ "method.response.header.Access-Control-Allow-Methods" = "'POST,OPTIONS'"
+ "method.response.header.Access-Control-Allow-Origin" = "'*'"
}
+ rest_api_id = "mpl8es0cb7"
+ status_code = "200"
}
# module.api_gateway.aws_api_gateway_method.cors_methods["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_method" "cors_methods" {
+ api_key_required = false
+ authorization = "NONE"
+ http_method = "OPTIONS"
+ id = (known after apply)
+ region = "us-east-1"
+ resource_id = (known after apply)
+ rest_api_id = "mpl8es0cb7"
}
# module.api_gateway.aws_api_gateway_method.endpoint_methods["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_method" "endpoint_methods" {
+ api_key_required = true
+ authorization = "NONE"
+ http_method = "POST"
+ id = (known after apply)
+ region = "us-east-1"
+ request_parameters = {
+ "method.request.header.Content-Type" = true
}
+ resource_id = (known after apply)
+ rest_api_id = "mpl8es0cb7"
}
# module.api_gateway.aws_api_gateway_method_response.cors_responses["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_method_response" "cors_responses" {
+ http_method = "OPTIONS"
+ id = (known after apply)
+ region = "us-east-1"
+ resource_id = (known after apply)
+ response_parameters = {
+ "method.response.header.Access-Control-Allow-Headers" = true
+ "method.response.header.Access-Control-Allow-Methods" = true
+ "method.response.header.Access-Control-Allow-Origin" = true
}
+ rest_api_id = "mpl8es0cb7"
+ status_code = "200"
}
# module.api_gateway.aws_api_gateway_resource.endpoint_resources["api-v1-certificate-create-batch"] will be created
+ resource "aws_api_gateway_resource" "endpoint_resources" {
+ id = (known after apply)
+ parent_id = "zjb4ix"
+ path = (known after apply)
+ path_part = "create-batch"
+ region = "us-east-1"
+ rest_api_id = "mpl8es0cb7"
}
# module.api_gateway.aws_api_gateway_stage.api_stage will be updated in-place
~ resource "aws_api_gateway_stage" "api_stage" {
~ deployment_id = "er4f8e" -> (known after apply)
id = "ags-mpl8es0cb7-dev"
tags = {
"Environment" = "dev"
"Name" = "tech-floripa-certificates-api-stage-dev"
"Project" = "tech-floripa-certificates"
}
# (15 unchanged attributes hidden)
}
Plan: 8 to add, 1 to change, 1 to destroy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… API key requirement