.. | ||
examples | ||
main.tf | ||
outputs.tf | ||
README.md | ||
variables.tf | ||
versions.tf |
Requirements
Name | Version |
---|---|
terraform | >= 1.3.0 |
aws | >= 5.0 |
Providers
Name | Version |
---|---|
aws | >= 5.0 |
random | n/a |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_api_gateway_deployment.apigw-deployment | resource |
aws_api_gateway_integration.api-integration | resource |
aws_api_gateway_method.api-method | resource |
aws_api_gateway_method_settings.apigw-method-settings | resource |
aws_api_gateway_resource.api-res | resource |
aws_api_gateway_rest_api.api | resource |
aws_api_gateway_rest_api_policy.api-policy | resource |
aws_api_gateway_stage.apigw-stage | resource |
aws_api_gateway_vpc_link.api-vpc-link | resource |
aws_iam_role.lambda-exec-role | resource |
aws_iam_role_policy.this | resource |
aws_lambda_function.function | resource |
aws_lambda_permission.allow_api_gateway | resource |
aws_vpc_endpoint.apigw-vpcep | resource |
random_id.this | resource |
aws_caller_identity.this | data source |
aws_iam_policy_document.api-policy | data source |
aws_region.current | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
apigw-security-group-id | Security group id of apigateway | string |
n/a | yes |
apigw-subnet-ids | Subnet IDs of apigateway | list(string) |
n/a | yes |
apigw-vpc-id | VPC id of apigateway | string |
n/a | yes |
apigw-vpc-link-target-arns | Target arns for apigateway VPC link | list(string) |
[] |
no |
create-vpc-link | Set true to create vpc link for outbound access to specific targets | bool |
n/a | yes |
description | Description of apigateway | string |
n/a | yes |
lambda-archive-file | Path to lambda zip archive | string |
n/a | yes |
lambda-runtime-version | Lambda runtime version | string |
"python3.12" |
no |
name | Name of apigateway | string |
n/a | yes |
path_part | Last path segment of this API resource | string |
n/a | yes |
stage-name | Apigateway stage name | string |
n/a | yes |
Outputs
No outputs.
Authorship
This module was developed by Rackspace.