Skip to content

Commit 228f874

Browse files
Merge pull request #50 from PythonFloripa/feature/create-certificates-batch-endpoint
feat: add batch creation endpoint to API Gateway with POST method and…
2 parents 26c6955 + 152e93c commit 228f874

File tree

1 file changed

+8
-0
lines changed
  • terraform/modules/06.api-gateway

1 file changed

+8
-0
lines changed

terraform/modules/06.api-gateway/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ locals {
1616
lambda_integration = true
1717
cors_enabled = true
1818
}
19+
# Endpoint para criação em lote de certificados
20+
"create-batch" = {
21+
method = "POST"
22+
authorization = "NONE"
23+
api_key_required = true # Exige API Key para operações em lote
24+
lambda_integration = true
25+
cors_enabled = true
26+
}
1927
# Exemplo de como adicionar novos endpoints facilmente:
2028
# "list" = {
2129
# method = "GET"

0 commit comments

Comments
 (0)