api-gateway

clouddrove/api-gateway/aws

Terraform Module HCL AWS

Terraform module to create Route53 resource on AWS for create api gateway with it's basic elements.

Install
module "api-gateway" {
source = "clouddrove/api-gateway/aws"
version = "1.5.0"
}
⭐ Source on GitHub 📦 Registry page
README

![Banner][website] Terraform Module API-GATEWAY-V2 With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence. We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices. This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding. Prerequisites and Providers T

Inputs (50)
NameTypeDescriptionDefault
log_formatstring Formatting and values recorded in the logs. For more information on configuring" {\n\t\"requestTime\": \"$context.requ
multi_regionboolndicates whether the KMS key is a multi-Region (true) or regional (false) key. Dfalse
authorizationstring Required The type of authorization used for the method (NONE, CUSTOM, AWS_IAM,"NONE"
documentation_versionstringVersion of the associated API documentation""
skip_destroyboolSet to true if you do not wish the log group (and any logs it may contain) to benull
rest_api_resource_policystring(Optional) custom resource policy for private rest api.""
create_http_apiboolFlag to control creation of HTTP api.false
subnet_idslist(string)A list of VPC Subnet IDs to launch in.[]
credentialsstringTo specify an IAM Role for Amazon API Gateway to assume, use the role's ARN. To ""
content_handlingstringSupported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT. If this property is "CONVERT_TO_TEXT"
canary_settingsmap(any)(optional) describe your variable{}
typestringType of the authorizer. Possible values are TOKEN for a Lambda function using a "TOKEN"
rest_api_assume_role_policystringCustome Trust Relationship Policy for Authorizer IAMRole.""
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`)."test"
label_orderlist(any)Label order, e.g. `name`,`application`.[ "name", "environment" ]
api_descriptionstringthe description of the API."Manages an Amazon API Gateway Version 2
create_vpc_link_enabledboolWhether to create VPC linkstrue
integration_response_parametersmap(string) Map of response parameters that can be read from the backend response. For exam{}
enable_key_rotationboolSpecifies whether key rotation is enabled. Defaults to false.null
managedbystringManagedBy, eg 'CloudDrove'"hello@clouddrove.com"
… and 10 more inputs
Outputs (8)
invoke_url — URL to invoke the API pointing to the stage
rest_api_id — The ID of the REST API
rest_api_arn — The Rest Api Arn.
rest_api_invoke_url — The URL to invoke the API pointing to the stage
rest_api_execution_arn — Execution arn of rest api gateway.
api_id — The HTTP Api ID.
api_arn — The HTTP API ARN.
api_endpoint — The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com.
Resources (24)
aws_api_gateway_authorizeraws_api_gateway_base_path_mappingaws_api_gateway_deploymentaws_api_gateway_integrationaws_api_gateway_integration_responseaws_api_gateway_methodaws_api_gateway_method_responseaws_api_gateway_resourceaws_api_gateway_rest_apiaws_api_gateway_rest_api_policyaws_api_gateway_stageaws_apigatewayv2_apiaws_apigatewayv2_api_mappingaws_apigatewayv2_authorizeraws_apigatewayv2_domain_nameaws_apigatewayv2_integrationaws_apigatewayv2_routeaws_apigatewayv2_stageaws_apigatewayv2_vpc_linkaws_cloudwatch_log_groupaws_cognito_user_poolaws_iam_roleaws_route53_recordaws_vpc_endpoint
Details
FrameworkTerraform Module
LanguageHCL
Version1.5.0
Cloud AWS
★ Stars75
Forks70
Total downloads83.0k
Inputs50
Outputs8
Resources24
Examples4
LicenseApache-2.0
Namespaceclouddrove
Updated