Birthday API serverless application
Application files are located in files/app
GET https://<api-endpoint>/hello/{username}
POST https://<api-endpoint>/hello/{username} { "dateOfBirth": "YYYY-MM-DD" }
| Name | Version |
|---|---|
| terraform | >= 1.3.0 |
| archive | 2.2.0 |
| aws | ~> 4.0 |
| Name | Version |
|---|---|
| archive | 2.2.0 |
| aws | 4.40.0 |
No modules.
| Name | Type |
|---|---|
| aws_api_gateway_deployment.this | resource |
| aws_api_gateway_integration.get_integration | resource |
| aws_api_gateway_integration.put_integration | resource |
| aws_api_gateway_method.get | resource |
| aws_api_gateway_method.put | resource |
| aws_api_gateway_resource.api_resource | resource |
| aws_api_gateway_rest_api.api | resource |
| aws_api_gateway_stage.test | resource |
| aws_cloudwatch_log_group.function_logs | resource |
| aws_dynamodb_table.db | resource |
| aws_iam_role.lambda | resource |
| aws_iam_role_policy.lambda_policy | resource |
| aws_lambda_function.this | resource |
| aws_lambda_permission.allow_get_apigateway_trigger | resource |
| archive_file.zip | data source |
| aws_caller_identity.current | data source |
| aws_region.current | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| environment | Project environment. | string |
"test" |
no |
| project_category | Project category. | string |
"api" |
no |
| project_name | Project name. | string |
"Birthday" |
no |
| Name | Description |
|---|---|
| api | Output REST API details. |
| db | Output DynamoDB table details. |
| function | Output Function details. |
| logs | Output CloudWatch logs details. |
pre-committflintterraform-docs
