-
Notifications
You must be signed in to change notification settings - Fork 1
Remove Lambda module outputs, variables, and API Gateway module files #44
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
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
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:
- destroy
Terraform will perform the following actions:
# module.api_gateway.aws_api_gateway_api_key.main_api_key will be destroyed
# (because aws_api_gateway_api_key.main_api_key is not in configuration)
- resource "aws_api_gateway_api_key" "main_api_key" {
- arn = "arn:aws:apigateway:us-east-1::/apikeys/r1tjl8pcx4" -> null
- created_date = "2025-11-30T22:45:31Z" -> null
- description = "API Key para autenticação do tech-floripa-certificates em dev" -> null
- enabled = true -> null
- id = "r1tjl8pcx4" -> null
- last_updated_date = "2025-11-30T22:45:31Z" -> null
- name = "tech-floripa-certificates-api-key-dev" -> null
- region = "us-east-1" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-api-key-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-api-key-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- value = (sensitive value) -> null
# (1 unchanged attribute hidden)
}
# module.api_gateway.aws_api_gateway_deployment.api_deployment will be destroyed
# (because aws_api_gateway_deployment.api_deployment is not in configuration)
- resource "aws_api_gateway_deployment" "api_deployment" {
- created_date = "2025-11-30T23:55:47Z" -> null
- id = "n9wmz4" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
- triggers = {
- "redeployment" = "9076627741e35e8aaf22476fa6ac9a14dc530325"
} -> null
# (1 unchanged attribute hidden)
}
# module.api_gateway.aws_api_gateway_integration.cors_integrations["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_integration.cors_integrations is not in configuration)
- resource "aws_api_gateway_integration" "cors_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "qwwkx8" -> null
- connection_type = "INTERNET" -> null
- http_method = "OPTIONS" -> null
- id = "agi-mnoien20vg-qwwkx8-OPTIONS" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {
- "application/json" = jsonencode(
{
- statusCode = 200
}
)
} -> null
- resource_id = "qwwkx8" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "MOCK" -> null
# (5 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.cors_integrations["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_integration.cors_integrations is not in configuration)
- resource "aws_api_gateway_integration" "cors_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "0e8meh" -> null
- connection_type = "INTERNET" -> null
- http_method = "OPTIONS" -> null
- id = "agi-mnoien20vg-0e8meh-OPTIONS" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {
- "application/json" = jsonencode(
{
- statusCode = 200
}
)
} -> null
- resource_id = "0e8meh" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "MOCK" -> null
# (5 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.cors_integrations["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_integration.cors_integrations is not in configuration)
- resource "aws_api_gateway_integration" "cors_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "hpwqek" -> null
- connection_type = "INTERNET" -> null
- http_method = "OPTIONS" -> null
- id = "agi-mnoien20vg-hpwqek-OPTIONS" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {
- "application/json" = jsonencode(
{
- statusCode = 200
}
)
} -> null
- resource_id = "hpwqek" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "MOCK" -> null
# (5 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.lambda_integrations["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_integration.lambda_integrations is not in configuration)
- resource "aws_api_gateway_integration" "lambda_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "qwwkx8" -> null
- connection_type = "INTERNET" -> null
- http_method = "POST" -> null
- id = "agi-mnoien20vg-qwwkx8-POST" -> null
- integration_http_method = "POST" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {} -> null
- resource_id = "qwwkx8" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "AWS_PROXY" -> null
- 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" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.lambda_integrations["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_integration.lambda_integrations is not in configuration)
- resource "aws_api_gateway_integration" "lambda_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "0e8meh" -> null
- connection_type = "INTERNET" -> null
- http_method = "GET" -> null
- id = "agi-mnoien20vg-0e8meh-GET" -> null
- integration_http_method = "POST" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {} -> null
- resource_id = "0e8meh" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "AWS_PROXY" -> null
- 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" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration.lambda_integrations["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_integration.lambda_integrations is not in configuration)
- resource "aws_api_gateway_integration" "lambda_integrations" {
- cache_key_parameters = [] -> null
- cache_namespace = "hpwqek" -> null
- connection_type = "INTERNET" -> null
- http_method = "GET" -> null
- id = "agi-mnoien20vg-hpwqek-GET" -> null
- integration_http_method = "POST" -> null
- passthrough_behavior = "WHEN_NO_MATCH" -> null
- region = "us-east-1" -> null
- request_parameters = {} -> null
- request_templates = {} -> null
- resource_id = "hpwqek" -> null
- rest_api_id = "mnoien20vg" -> null
- timeout_milliseconds = 29000 -> null
- type = "AWS_PROXY" -> null
- 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" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration_response.cors_integration_responses["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_integration_response.cors_integration_responses is not in configuration)
- resource "aws_api_gateway_integration_response" "cors_integration_responses" {
- http_method = "OPTIONS" -> null
- id = "agir-mnoien20vg-qwwkx8-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "qwwkx8" -> null
- 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" = "'*'"
} -> null
- response_templates = {} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
# (2 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration_response.cors_integration_responses["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_integration_response.cors_integration_responses is not in configuration)
- resource "aws_api_gateway_integration_response" "cors_integration_responses" {
- http_method = "OPTIONS" -> null
- id = "agir-mnoien20vg-0e8meh-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "0e8meh" -> null
- 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" = "'GET,OPTIONS'"
- "method.response.header.Access-Control-Allow-Origin" = "'*'"
} -> null
- response_templates = {} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
# (2 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_integration_response.cors_integration_responses["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_integration_response.cors_integration_responses is not in configuration)
- resource "aws_api_gateway_integration_response" "cors_integration_responses" {
- http_method = "OPTIONS" -> null
- id = "agir-mnoien20vg-hpwqek-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "hpwqek" -> null
- 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" = "'GET,OPTIONS'"
- "method.response.header.Access-Control-Allow-Origin" = "'*'"
} -> null
- response_templates = {} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
# (2 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.cors_methods["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_method.cors_methods is not in configuration)
- resource "aws_api_gateway_method" "cors_methods" {
- api_key_required = false -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "OPTIONS" -> null
- id = "agm-mnoien20vg-qwwkx8-OPTIONS" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {} -> null
- resource_id = "qwwkx8" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.cors_methods["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_method.cors_methods is not in configuration)
- resource "aws_api_gateway_method" "cors_methods" {
- api_key_required = false -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "OPTIONS" -> null
- id = "agm-mnoien20vg-0e8meh-OPTIONS" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {} -> null
- resource_id = "0e8meh" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.cors_methods["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_method.cors_methods is not in configuration)
- resource "aws_api_gateway_method" "cors_methods" {
- api_key_required = false -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "OPTIONS" -> null
- id = "agm-mnoien20vg-hpwqek-OPTIONS" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {} -> null
- resource_id = "hpwqek" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.endpoint_methods["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_method.endpoint_methods is not in configuration)
- resource "aws_api_gateway_method" "endpoint_methods" {
- api_key_required = true -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "POST" -> null
- id = "agm-mnoien20vg-qwwkx8-POST" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {
- "method.request.header.Content-Type" = true
} -> null
- resource_id = "qwwkx8" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.endpoint_methods["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_method.endpoint_methods is not in configuration)
- resource "aws_api_gateway_method" "endpoint_methods" {
- api_key_required = false -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "GET" -> null
- id = "agm-mnoien20vg-0e8meh-GET" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {
- "method.request.header.Content-Type" = true
- "method.request.querystring.id" = true
} -> null
- resource_id = "0e8meh" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method.endpoint_methods["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_method.endpoint_methods is not in configuration)
- resource "aws_api_gateway_method" "endpoint_methods" {
- api_key_required = true -> null
- authorization = "NONE" -> null
- authorization_scopes = [] -> null
- http_method = "GET" -> null
- id = "agm-mnoien20vg-hpwqek-GET" -> null
- region = "us-east-1" -> null
- request_models = {} -> null
- request_parameters = {
- "method.request.header.Content-Type" = true
- "method.request.querystring.email" = false
- "method.request.querystring.order_id" = false
- "method.request.querystring.product_id" = false
} -> null
- resource_id = "hpwqek" -> null
- rest_api_id = "mnoien20vg" -> null
# (3 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_method_response.cors_responses["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_method_response.cors_responses is not in configuration)
- resource "aws_api_gateway_method_response" "cors_responses" {
- http_method = "OPTIONS" -> null
- id = "agmr-mnoien20vg-qwwkx8-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "qwwkx8" -> null
- response_models = {} -> null
- 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
} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
}
# module.api_gateway.aws_api_gateway_method_response.cors_responses["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_method_response.cors_responses is not in configuration)
- resource "aws_api_gateway_method_response" "cors_responses" {
- http_method = "OPTIONS" -> null
- id = "agmr-mnoien20vg-0e8meh-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "0e8meh" -> null
- response_models = {} -> null
- 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
} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
}
# module.api_gateway.aws_api_gateway_method_response.cors_responses["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_method_response.cors_responses is not in configuration)
- resource "aws_api_gateway_method_response" "cors_responses" {
- http_method = "OPTIONS" -> null
- id = "agmr-mnoien20vg-hpwqek-OPTIONS-200" -> null
- region = "us-east-1" -> null
- resource_id = "hpwqek" -> null
- response_models = {} -> null
- 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
} -> null
- rest_api_id = "mnoien20vg" -> null
- status_code = "200" -> null
}
# module.api_gateway.aws_api_gateway_method_settings.api_throttling will be destroyed
# (because aws_api_gateway_method_settings.api_throttling is not in configuration)
- resource "aws_api_gateway_method_settings" "api_throttling" {
- id = "mnoien20vg-dev-*/*" -> null
- method_path = "*/*" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
- stage_name = "dev" -> null
- settings {
- cache_data_encrypted = false -> null
- cache_ttl_in_seconds = 300 -> null
- caching_enabled = false -> null
- data_trace_enabled = false -> null
- logging_level = "OFF" -> null
- metrics_enabled = false -> null
- require_authorization_for_cache_control = true -> null
- throttling_burst_limit = 200 -> null
- throttling_rate_limit = 100 -> null
- unauthorized_cache_control_header_strategy = "SUCCEED_WITH_RESPONSE_HEADER" -> null
}
}
# module.api_gateway.aws_api_gateway_method_settings.download_throttling will be destroyed
# (because aws_api_gateway_method_settings.download_throttling is not in configuration)
- resource "aws_api_gateway_method_settings" "download_throttling" {
- id = "mnoien20vg-dev-*/certificate/download/GET" -> null
- method_path = "*/certificate/download/GET" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
- stage_name = "dev" -> null
- settings {
- cache_data_encrypted = false -> null
- cache_ttl_in_seconds = 300 -> null
- caching_enabled = false -> null
- data_trace_enabled = false -> null
- logging_level = "OFF" -> null
- metrics_enabled = true -> null
- require_authorization_for_cache_control = true -> null
- throttling_burst_limit = 2 -> null
- throttling_rate_limit = 0.083 -> null
- unauthorized_cache_control_header_strategy = "SUCCEED_WITH_RESPONSE_HEADER" -> null
}
}
# module.api_gateway.aws_api_gateway_resource.endpoint_resources["api-v1-certificate-create"] will be destroyed
# (because aws_api_gateway_resource.endpoint_resources is not in configuration)
- resource "aws_api_gateway_resource" "endpoint_resources" {
- id = "qwwkx8" -> null
- parent_id = "10zqdt" -> null
- path = "/api/v1/certificate/create" -> null
- path_part = "create" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_resource.endpoint_resources["api-v1-certificate-download"] will be destroyed
# (because aws_api_gateway_resource.endpoint_resources is not in configuration)
- resource "aws_api_gateway_resource" "endpoint_resources" {
- id = "0e8meh" -> null
- parent_id = "10zqdt" -> null
- path = "/api/v1/certificate/download" -> null
- path_part = "download" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_resource.endpoint_resources["api-v1-certificate-fetch"] will be destroyed
# (because aws_api_gateway_resource.endpoint_resources is not in configuration)
- resource "aws_api_gateway_resource" "endpoint_resources" {
- id = "hpwqek" -> null
- parent_id = "10zqdt" -> null
- path = "/api/v1/certificate/fetch" -> null
- path_part = "fetch" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_resource.level1_resources["api"] will be destroyed
# (because aws_api_gateway_resource.level1_resources is not in configuration)
- resource "aws_api_gateway_resource" "level1_resources" {
- id = "k6horc" -> null
- parent_id = "48vs7ur604" -> null
- path = "/api" -> null
- path_part = "api" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_resource.level2_resources["api/v1"] will be destroyed
# (because aws_api_gateway_resource.level2_resources is not in configuration)
- resource "aws_api_gateway_resource" "level2_resources" {
- id = "7x8dab" -> null
- parent_id = "k6horc" -> null
- path = "/api/v1" -> null
- path_part = "v1" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_resource.level3_resources["api/v1/certificate"] will be destroyed
# (because aws_api_gateway_resource.level3_resources is not in configuration)
- resource "aws_api_gateway_resource" "level3_resources" {
- id = "10zqdt" -> null
- parent_id = "7x8dab" -> null
- path = "/api/v1/certificate" -> null
- path_part = "certificate" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
}
# module.api_gateway.aws_api_gateway_rest_api.api will be destroyed
# (because aws_api_gateway_rest_api.api is not in configuration)
- resource "aws_api_gateway_rest_api" "api" {
- api_key_source = "HEADER" -> null
- arn = "arn:aws:apigateway:us-east-1::/restapis/mnoien20vg" -> null
- binary_media_types = [] -> null
- created_date = "2025-11-30T22:45:32Z" -> null
- description = "API REST para Certified Builder API - dev" -> null
- disable_execute_api_endpoint = false -> null
- execution_arn = "arn:aws:execute-api:us-east-1:334318883918:mnoien20vg" -> null
- id = "mnoien20vg" -> null
- name = "tech-floripa-certificates-api-dev" -> null
- region = "us-east-1" -> null
- root_resource_id = "48vs7ur604" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-api-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-api-dev"
- "Project" = "tech-floripa-certificates"
} -> null
# (2 unchanged attributes hidden)
- endpoint_configuration {
- ip_address_type = "ipv4" -> null
- types = [
- "REGIONAL",
] -> null
- vpc_endpoint_ids = [] -> null
}
}
# module.api_gateway.aws_api_gateway_stage.api_stage will be destroyed
# (because aws_api_gateway_stage.api_stage is not in configuration)
- resource "aws_api_gateway_stage" "api_stage" {
- arn = "arn:aws:apigateway:us-east-1::/restapis/mnoien20vg/stages/dev" -> null
- cache_cluster_enabled = false -> null
- deployment_id = "n9wmz4" -> null
- execution_arn = "arn:aws:execute-api:us-east-1:334318883918:mnoien20vg/dev" -> null
- id = "ags-mnoien20vg-dev" -> null
- invoke_url = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev" -> null
- region = "us-east-1" -> null
- rest_api_id = "mnoien20vg" -> null
- stage_name = "dev" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-api-stage-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-api-stage-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- variables = {} -> null
- xray_tracing_enabled = false -> null
# (5 unchanged attributes hidden)
}
# module.api_gateway.aws_api_gateway_usage_plan.download_usage_plan will be destroyed
# (because aws_api_gateway_usage_plan.download_usage_plan is not in configuration)
- resource "aws_api_gateway_usage_plan" "download_usage_plan" {
- arn = "arn:aws:apigateway:us-east-1::/usageplans/swx81c" -> null
- description = "Usage plan restritivo para endpoint de download de certificados" -> null
- id = "swx81c" -> null
- name = "tech-floripa-certificates-download-usage-plan-dev" -> null
- region = "us-east-1" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-download-usage-plan-dev"
- "Project" = "tech-floripa-certificates"
- "Purpose" = "download-rate-limiting"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-download-usage-plan-dev"
- "Project" = "tech-floripa-certificates"
- "Purpose" = "download-rate-limiting"
} -> null
# (1 unchanged attribute hidden)
- api_stages {
- api_id = "mnoien20vg" -> null
- stage = "dev" -> null
}
- quota_settings {
- limit = 50 -> null
- offset = 0 -> null
- period = "MONTH" -> null
}
- throttle_settings {
- burst_limit = 2 -> null
- rate_limit = 0.083 -> null
}
}
# module.api_gateway.aws_api_gateway_usage_plan.main_usage_plan will be destroyed
# (because aws_api_gateway_usage_plan.main_usage_plan is not in configuration)
- resource "aws_api_gateway_usage_plan" "main_usage_plan" {
- arn = "arn:aws:apigateway:us-east-1::/usageplans/0licn9" -> null
- description = "Usage plan para tech-floripa-certificates em dev" -> null
- id = "0licn9" -> null
- name = "tech-floripa-certificates-usage-plan-dev" -> null
- region = "us-east-1" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-usage-plan-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-usage-plan-dev"
- "Project" = "tech-floripa-certificates"
} -> null
# (1 unchanged attribute hidden)
- api_stages {
- api_id = "mnoien20vg" -> null
- stage = "dev" -> null
}
- quota_settings {
- limit = 1000 -> null
- offset = 0 -> null
- period = "MONTH" -> null
}
- throttle_settings {
- burst_limit = 200 -> null
- rate_limit = 100 -> null
}
}
# module.api_gateway.aws_api_gateway_usage_plan_key.main_usage_plan_key will be destroyed
# (because aws_api_gateway_usage_plan_key.main_usage_plan_key is not in configuration)
- resource "aws_api_gateway_usage_plan_key" "main_usage_plan_key" {
- id = "r1tjl8pcx4" -> null
- key_id = "r1tjl8pcx4" -> null
- key_type = "API_KEY" -> null
- name = "tech-floripa-certificates-api-key-dev" -> null
- region = "us-east-1" -> null
- usage_plan_id = "0licn9" -> null
- value = "8a3f1e2c-9d7b-4f4a-8453-bf3c1d2a6f29" -> null
}
# module.api_gateway.aws_lambda_permission.api_gateway_invoke will be destroyed
# (because aws_lambda_permission.api_gateway_invoke is not in configuration)
- resource "aws_lambda_permission" "api_gateway_invoke" {
- action = "lambda:InvokeFunction" -> null
- function_name = "tech-floripa-certificates-api-dev" -> null
- id = "AllowExecutionFromAPIGateway" -> null
- principal = "apigateway.amazonaws.com" -> null
- region = "us-east-1" -> null
- source_arn = "arn:aws:execute-api:us-east-1:334318883918:mnoien20vg/*/*" -> null
- statement_id = "AllowExecutionFromAPIGateway" -> null
# (2 unchanged attributes hidden)
}
# module.lambda.aws_cloudwatch_log_group.builder_logs will be destroyed
# (because aws_cloudwatch_log_group.builder_logs is not in configuration)
- resource "aws_cloudwatch_log_group" "builder_logs" {
- arn = "arn:aws:logs:us-east-1:334318883918:log-group:/aws/lambda/tech-floripa-certificates-builder-dev" -> null
- id = "/aws/lambda/tech-floripa-certificates-builder-dev" -> null
- log_group_class = "STANDARD" -> null
- name = "/aws/lambda/tech-floripa-certificates-builder-dev" -> null
- region = "us-east-1" -> null
- retention_in_days = 3 -> null
- skip_destroy = false -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-builder-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-builder-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
# (2 unchanged attributes hidden)
}
# module.lambda.aws_cloudwatch_log_group.lambda_logs will be destroyed
# (because aws_cloudwatch_log_group.lambda_logs is not in configuration)
- resource "aws_cloudwatch_log_group" "lambda_logs" {
- arn = "arn:aws:logs:us-east-1:334318883918:log-group:/aws/lambda/tech-floripa-certificates-api-dev" -> null
- id = "/aws/lambda/tech-floripa-certificates-api-dev" -> null
- log_group_class = "STANDARD" -> null
- name = "/aws/lambda/tech-floripa-certificates-api-dev" -> null
- region = "us-east-1" -> null
- retention_in_days = 3 -> null
- skip_destroy = false -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-lambda-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-lambda-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
# (2 unchanged attributes hidden)
}
# module.lambda.aws_cloudwatch_log_group.notification_logs will be destroyed
# (because aws_cloudwatch_log_group.notification_logs is not in configuration)
- resource "aws_cloudwatch_log_group" "notification_logs" {
- arn = "arn:aws:logs:us-east-1:334318883918:log-group:/aws/lambda/tech-floripa-certificates-notification-dev" -> null
- id = "/aws/lambda/tech-floripa-certificates-notification-dev" -> null
- log_group_class = "STANDARD" -> null
- name = "/aws/lambda/tech-floripa-certificates-notification-dev" -> null
- region = "us-east-1" -> null
- retention_in_days = 3 -> null
- skip_destroy = false -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-notification-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-notification-logs-dev"
- "Project" = "tech-floripa-certificates"
} -> null
# (2 unchanged attributes hidden)
}
# module.lambda.aws_iam_role.lambda_builder_execution_role will be destroyed
# (because aws_iam_role.lambda_builder_execution_role is not in configuration)
- resource "aws_iam_role" "lambda_builder_execution_role" {
- arn = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-builder-role-dev" -> null
- assume_role_policy = jsonencode(
{
- Statement = [
- {
- Action = "sts:AssumeRole"
- Effect = "Allow"
- Principal = {
- Service = "lambda.amazonaws.com"
}
},
]
- Version = "2012-10-17"
}
) -> null
- create_date = "2025-11-30T22:45:33Z" -> null
- force_detach_policies = false -> null
- id = "tech-floripa-certificates-lambda-builder-role-dev" -> null
- managed_policy_arns = [
- "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly",
- "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
] -> null
- max_session_duration = 3600 -> null
- name = "tech-floripa-certificates-lambda-builder-role-dev" -> null
- path = "/" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-lambda-ecr-builder-execution-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-lambda-ecr-builder-execution-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- unique_id = "AROAU3VXVKRHL5G32BOOE" -> null
# (3 unchanged attributes hidden)
- inline_policy {
- name = "tech-floripa-certificates-lambda-builder-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-builder-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-builder-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:GetObjectVersion",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
- "sqs:GetQueueUrl",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
]
- Version = "2012-10-17"
}
) -> null
}
}
# module.lambda.aws_iam_role.lambda_execution_role will be destroyed
# (because aws_iam_role.lambda_execution_role is not in configuration)
- resource "aws_iam_role" "lambda_execution_role" {
- arn = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-role-dev" -> null
- assume_role_policy = jsonencode(
{
- Statement = [
- {
- Action = "sts:AssumeRole"
- Effect = "Allow"
- Principal = {
- Service = "lambda.amazonaws.com"
}
},
]
- Version = "2012-10-17"
}
) -> null
- create_date = "2025-11-30T22:45:32Z" -> null
- force_detach_policies = false -> null
- id = "tech-floripa-certificates-lambda-role-dev" -> null
- managed_policy_arns = [
- "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
] -> null
- max_session_duration = 3600 -> null
- name = "tech-floripa-certificates-lambda-role-dev" -> null
- path = "/" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-lambda-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-lambda-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- unique_id = "AROAU3VXVKRHBMLPOVND5" -> null
# (3 unchanged attributes hidden)
- inline_policy {
- name = "tech-floripa-certificates-lambda-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-api-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-api-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:GetObjectVersion",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> null
}
}
# module.lambda.aws_iam_role.lambda_notification_execution_role will be destroyed
# (because aws_iam_role.lambda_notification_execution_role is not in configuration)
- resource "aws_iam_role" "lambda_notification_execution_role" {
- arn = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-notification-role-dev" -> null
- assume_role_policy = jsonencode(
{
- Statement = [
- {
- Action = "sts:AssumeRole"
- Effect = "Allow"
- Principal = {
- Service = "lambda.amazonaws.com"
}
},
]
- Version = "2012-10-17"
}
) -> null
- create_date = "2025-11-30T22:45:32Z" -> null
- force_detach_policies = false -> null
- id = "tech-floripa-certificates-lambda-notification-role-dev" -> null
- managed_policy_arns = [
- "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
] -> null
- max_session_duration = 3600 -> null
- name = "tech-floripa-certificates-lambda-notification-role-dev" -> null
- path = "/" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-lambda-notification-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-lambda-notification-role-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- unique_id = "AROAU3VXVKRHI3BVFSA7G" -> null
# (3 unchanged attributes hidden)
- inline_policy {
- name = "tech-floripa-certificates-lambda-notification-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-notification-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-notification-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> null
}
}
# module.lambda.aws_iam_role_policy.lambda_builder_custom_policy will be destroyed
# (because aws_iam_role_policy.lambda_builder_custom_policy is not in configuration)
- resource "aws_iam_role_policy" "lambda_builder_custom_policy" {
- id = "tech-floripa-certificates-lambda-builder-role-dev:tech-floripa-certificates-lambda-builder-policy-dev" -> null
- name = "tech-floripa-certificates-lambda-builder-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-builder-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-builder-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:GetObjectVersion",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
- "sqs:GetQueueUrl",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
]
- Version = "2012-10-17"
}
) -> null
- role = "tech-floripa-certificates-lambda-builder-role-dev" -> null
# (1 unchanged attribute hidden)
}
# module.lambda.aws_iam_role_policy.lambda_custom_policy will be destroyed
# (because aws_iam_role_policy.lambda_custom_policy is not in configuration)
- resource "aws_iam_role_policy" "lambda_custom_policy" {
- id = "tech-floripa-certificates-lambda-role-dev:tech-floripa-certificates-lambda-policy-dev" -> null
- name = "tech-floripa-certificates-lambda-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-api-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-api-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:GetObjectVersion",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> null
- role = "tech-floripa-certificates-lambda-role-dev" -> null
# (1 unchanged attribute hidden)
}
# module.lambda.aws_iam_role_policy.lambda_notification_custom_policy will be destroyed
# (because aws_iam_role_policy.lambda_notification_custom_policy is not in configuration)
- resource "aws_iam_role_policy" "lambda_notification_custom_policy" {
- id = "tech-floripa-certificates-lambda-notification-role-dev:tech-floripa-certificates-lambda-notification-policy-dev" -> null
- name = "tech-floripa-certificates-lambda-notification-policy-dev" -> null
- policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "ecr:GetAuthorizationToken",
- "ecr:BatchCheckLayerAvailability",
- "ecr:GetDownloadUrlForLayer",
- "ecr:BatchGetImage",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-notification-dev",
- "arn:aws:ecr:us-east-1:334318883918:repository/tech-floripa-certificates-notification-dev:*",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> null
- role = "tech-floripa-certificates-lambda-notification-role-dev" -> null
# (1 unchanged attribute hidden)
}
# module.lambda.aws_iam_role_policy_attachment.lambda_basic_execution will be destroyed
# (because aws_iam_role_policy_attachment.lambda_basic_execution is not in configuration)
- resource "aws_iam_role_policy_attachment" "lambda_basic_execution" {
- id = "tech-floripa-certificates-lambda-role-dev/arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- role = "tech-floripa-certificates-lambda-role-dev" -> null
}
# module.lambda.aws_iam_role_policy_attachment.lambda_builder_basic_execution will be destroyed
# (because aws_iam_role_policy_attachment.lambda_builder_basic_execution is not in configuration)
- resource "aws_iam_role_policy_attachment" "lambda_builder_basic_execution" {
- id = "tech-floripa-certificates-lambda-builder-role-dev/arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- role = "tech-floripa-certificates-lambda-builder-role-dev" -> null
}
# module.lambda.aws_iam_role_policy_attachment.lambda_builder_execution will be destroyed
# (because aws_iam_role_policy_attachment.lambda_builder_execution is not in configuration)
- resource "aws_iam_role_policy_attachment" "lambda_builder_execution" {
- id = "tech-floripa-certificates-lambda-builder-role-dev/arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly" -> null
- policy_arn = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly" -> null
- role = "tech-floripa-certificates-lambda-builder-role-dev" -> null
}
# module.lambda.aws_iam_role_policy_attachment.lambda_notification_basic_execution will be destroyed
# (because aws_iam_role_policy_attachment.lambda_notification_basic_execution is not in configuration)
- resource "aws_iam_role_policy_attachment" "lambda_notification_basic_execution" {
- id = "tech-floripa-certificates-lambda-notification-role-dev/arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" -> null
- role = "tech-floripa-certificates-lambda-notification-role-dev" -> null
}
# module.lambda.aws_lambda_event_source_mapping.builder_sqs_trigger will be destroyed
# (because aws_lambda_event_source_mapping.builder_sqs_trigger is not in configuration)
- resource "aws_lambda_event_source_mapping" "builder_sqs_trigger" {
- arn = "arn:aws:lambda:us-east-1:334318883918:event-source-mapping:071b3afd-d66b-4a83-ad61-19462bf32895" -> null
- batch_size = 1 -> null
- bisect_batch_on_function_error = false -> null
- enabled = true -> null
- event_source_arn = "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue" -> null
- function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev" -> null
- function_name = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev" -> null
- function_response_types = [
- "ReportBatchItemFailures",
] -> null
- id = "071b3afd-d66b-4a83-ad61-19462bf32895" -> null
- last_modified = "2025-11-30T23:55:35Z" -> null
- maximum_batching_window_in_seconds = 5 -> null
- maximum_record_age_in_seconds = 0 -> null
- maximum_retry_attempts = 0 -> null
- parallelization_factor = 0 -> null
- queues = [] -> null
- region = "us-east-1" -> null
- state = "Enabled" -> null
- state_transition_reason = "USER_INITIATED" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-builder-sqs-trigger-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-builder-sqs-trigger-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- topics = [] -> null
- tumbling_window_in_seconds = 0 -> null
- uuid = "071b3afd-d66b-4a83-ad61-19462bf32895" -> null
# (4 unchanged attributes hidden)
- scaling_config {
- maximum_concurrency = 3 -> null
}
}
# module.lambda.aws_lambda_event_source_mapping.notification_sqs_trigger will be destroyed
# (because aws_lambda_event_source_mapping.notification_sqs_trigger is not in configuration)
- resource "aws_lambda_event_source_mapping" "notification_sqs_trigger" {
- arn = "arn:aws:lambda:us-east-1:334318883918:event-source-mapping:65253757-1e38-424a-8349-33d0e1910513" -> null
- batch_size = 1 -> null
- bisect_batch_on_function_error = false -> null
- enabled = true -> null
- event_source_arn = "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue" -> null
- function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev" -> null
- function_name = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev" -> null
- function_response_types = [
- "ReportBatchItemFailures",
] -> null
- id = "65253757-1e38-424a-8349-33d0e1910513" -> null
- last_modified = "2025-11-30T23:56:09Z" -> null
- maximum_batching_window_in_seconds = 5 -> null
- maximum_record_age_in_seconds = 0 -> null
- maximum_retry_attempts = 0 -> null
- parallelization_factor = 0 -> null
- queues = [] -> null
- region = "us-east-1" -> null
- state = "Enabled" -> null
- state_transition_reason = "USER_INITIATED" -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-notification-sqs-trigger-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-notification-sqs-trigger-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- topics = [] -> null
- tumbling_window_in_seconds = 0 -> null
- uuid = "65253757-1e38-424a-8349-33d0e1910513" -> null
# (4 unchanged attributes hidden)
- scaling_config {
- maximum_concurrency = 2 -> null
}
}
# module.lambda.aws_lambda_function.api_function will be destroyed
# (because aws_lambda_function.api_function is not in configuration)
- resource "aws_lambda_function" "api_function" {
- architectures = [
- "x86_64",
] -> null
- arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-api-dev" -> null
- code_sha256 = "04b9ce1ea6458d19f20aab0ab59236de6506e4c420dc27fc4ce0dd292c032cc8" -> null
- function_name = "tech-floripa-certificates-api-dev" -> null
- id = "tech-floripa-certificates-api-dev" -> null
- image_uri = "334318883918.dkr.ecr.us-east-1.amazonaws.com/tech-floripa-certificates-api-dev@sha256:04b9ce1ea6458d19f20aab0ab59236de6506e4c420dc27fc4ce0dd292c032cc8" -> null
- invoke_arn = "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" -> null
- last_modified = "2025-12-01T00:34:24.000+0000" -> null
- layers = [] -> null
- memory_size = 512 -> null
- package_type = "Image" -> null
- publish = false -> null
- qualified_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-api-dev:$LATEST" -> null
- qualified_invoke_arn = "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:$LATEST/invocations" -> null
- region = "us-east-1" -> null
- reserved_concurrent_executions = -1 -> null
- role = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-role-dev" -> null
- skip_destroy = false -> null
- source_code_size = 0 -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-api-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-api-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- timeout = 60 -> null
- version = "$LATEST" -> null
# (9 unchanged attributes hidden)
- environment {
- variables = {
- "BUILDER_QUEUE_URL" = "https://sqs.us-east-1.amazonaws.com/334318883918/tech-floripa-certificates-builder-queue"
- "ENVIRONMENT" = "dev"
- "PREFIX_API_VERSION" = "/api/v1"
- "PROJECT_NAME" = "tech-floripa-certificates"
- "REGION" = "us-east-1"
- "S3_BUCKET_NAME" = "tech-floripa-certificates-dev-bucket"
- "URL_SERVICE_TECH" = "https://tech.floripa.br/wp-json/custom/v1"
} -> null
}
- ephemeral_storage {
- size = 512 -> null
}
- logging_config {
- log_format = "Text" -> null
- log_group = "/aws/lambda/tech-floripa-certificates-api-dev" -> null
# (2 unchanged attributes hidden)
}
- tracing_config {
- mode = "PassThrough" -> null
}
}
# module.lambda.aws_lambda_function.builder_function will be destroyed
# (because aws_lambda_function.builder_function is not in configuration)
- resource "aws_lambda_function" "builder_function" {
- architectures = [
- "x86_64",
] -> null
- arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev" -> null
- code_sha256 = "3a3028c807b5932c5a34d48bd3c5110977561071d8ed90a7cd4e58811605abee" -> null
- function_name = "tech-floripa-certificates-builder-dev" -> null
- id = "tech-floripa-certificates-builder-dev" -> null
- image_uri = "334318883918.dkr.ecr.us-east-1.amazonaws.com/tech-floripa-certificates-builder-dev@sha256:3a3028c807b5932c5a34d48bd3c5110977561071d8ed90a7cd4e58811605abee" -> null
- invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev/invocations" -> null
- last_modified = "2025-12-01T00:34:24.000+0000" -> null
- layers = [] -> null
- memory_size = 512 -> null
- package_type = "Image" -> null
- publish = false -> null
- qualified_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev:$LATEST" -> null
- qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-builder-dev:$LATEST/invocations" -> null
- region = "us-east-1" -> null
- reserved_concurrent_executions = -1 -> null
- role = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-builder-role-dev" -> null
- skip_destroy = false -> null
- source_code_size = 0 -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-builder-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-builder-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- timeout = 60 -> null
- version = "$LATEST" -> null
# (9 unchanged attributes hidden)
- environment {
- variables = {
- "BUCKET_NAME" = "tech-floripa-certificates-dev-bucket"
- "QUEUE_URL" = "https://sqs.us-east-1.amazonaws.com/334318883918/tech-floripa-certificates-notification-queue"
- "REGION" = "us-east-1"
- "SERVICE_API_KEY_REGISTRATION_API_SOLANA" = (sensitive value)
- "SERVICE_URL_REGISTRATION_API_SOLANA" = "https://www.pynews.org/certificates/register"
- "TECH_FLORIPA_CERTIFICATE_VALIDATE_URL" = "https://tech.floripa.br/certificate-validate/"
- "TECH_FLORIPA_LOGO_URL" = "https://tech.floripa.br/wp-content/uploads/2025/03/Tech-Floripa-Qr.png"
} -> null
}
- ephemeral_storage {
- size = 512 -> null
}
- logging_config {
- log_format = "Text" -> null
- log_group = "/aws/lambda/tech-floripa-certificates-builder-dev" -> null
# (2 unchanged attributes hidden)
}
- tracing_config {
- mode = "PassThrough" -> null
}
}
# module.lambda.aws_lambda_function.notification_function will be destroyed
# (because aws_lambda_function.notification_function is not in configuration)
- resource "aws_lambda_function" "notification_function" {
- architectures = [
- "x86_64",
] -> null
- arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev" -> null
- code_sha256 = "3925e4acb3af5532e0e188dac7280bff7328cae0d25b302a6ab215fa9d27fa3a" -> null
- function_name = "tech-floripa-certificates-notification-dev" -> null
- id = "tech-floripa-certificates-notification-dev" -> null
- image_uri = "334318883918.dkr.ecr.us-east-1.amazonaws.com/tech-floripa-certificates-notification-dev@sha256:3925e4acb3af5532e0e188dac7280bff7328cae0d25b302a6ab215fa9d27fa3a" -> null
- invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev/invocations" -> null
- last_modified = "2025-12-01T00:34:44.000+0000" -> null
- layers = [] -> null
- memory_size = 512 -> null
- package_type = "Image" -> null
- publish = false -> null
- qualified_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev:$LATEST" -> null
- qualified_invoke_arn = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev:$LATEST/invocations" -> null
- region = "us-east-1" -> null
- reserved_concurrent_executions = -1 -> null
- role = "arn:aws:iam::334318883918:role/tech-floripa-certificates-lambda-notification-role-dev" -> null
- skip_destroy = false -> null
- source_code_size = 0 -> null
- tags = {
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-notification-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-notification-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- timeout = 60 -> null
- version = "$LATEST" -> null
# (9 unchanged attributes hidden)
- environment {
- variables = {
- "API_GATEWAY_DOWNLOAD_URL" = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev/api/v1/certificate/download"
- "ENVIRONMENT" = "dev"
- "PROJECT_NAME" = "tech-floripa-certificates"
- "REGION" = "us-east-1"
- "S3_BUCKET_NAME" = "tech-floripa-certificates-dev-bucket"
- "URL_SERVICE_TECH" = "https://tech.floripa.br/wp-json/custom/v1"
} -> null
}
- ephemeral_storage {
- size = 512 -> null
}
- logging_config {
- log_format = "Text" -> null
- log_group = "/aws/lambda/tech-floripa-certificates-notification-dev" -> null
# (2 unchanged attributes hidden)
}
- tracing_config {
- mode = "PassThrough" -> null
}
}
Plan: 0 to add, 0 to change, 52 to destroy.
Changes to Outputs:
- api_gateway_endpoint_create_certificate = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev/api/v1/certificate/create" -> null
- api_gateway_endpoint_download_certificate = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev/api/v1/certificate/download" -> null
- api_gateway_id = "mnoien20vg" -> null
- api_gateway_url = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev" -> null
- infrastructure_summary = {
- api_gateway = {
- endpoint_create_cert = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev/api/v1/certificate/create"
- id = "mnoien20vg"
- url = "https://mnoien20vg.execute-api.us-east-1.amazonaws.com/dev"
}
- ecr = {
- api_repository_name = "tech-floripa-certificates-api-dev"
- repository_url = "334318883918.dkr.ecr.us-east-1.amazonaws.com/tech-floripa-certificates-api-dev"
}
- environment = "dev"
- lambda = {
- function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-api-dev"
- function_name = "tech-floripa-certificates-api-dev"
- notification_function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev"
- notification_function_name = "tech-floripa-certificates-notification-dev"
}
- project = "tech-floripa-certificates"
- sqs = {
- dlq_url = "https://sqs.us-east-1.amazonaws.com/334318883918/tech-floripa-certificates-builder-queue-dlq"
- queue_url = "https://sqs.us-east-1.amazonaws.com/334318883918/tech-floripa-certificates-builder-queue"
}
} -> null
- lambda_function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-api-dev" -> null
- lambda_function_name = "tech-floripa-certificates-api-dev" -> null
- lambda_notification_function_arn = "arn:aws:lambda:us-east-1:334318883918:function:tech-floripa-certificates-notification-dev" -> null
- lambda_notification_function_name = "tech-floripa-certificates-notification-dev" -> null |
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.
No description provided.