Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History

terraform_module

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

Name Source Version
apig github.com/comtravo/terraform-aws-api-gateway-v2 1.3.0
lambda github.com/comtravo/terraform-aws-lambda 5.0.0

Resources

Name Type
aws_iam_role.this resource
aws_iam_role_policy.ssm resource
aws_iam_role_policy_attachment.lambda_vpc_policy resource
aws_iam_policy_document.ssm data source
aws_kms_alias.ssm data source
aws_ssm_parameter.github_token_key data source
aws_ssm_parameter.github_webhook_secret data source

Inputs

Name Description Type Default Required
api_gateway_name Name of the API Gateway string "all-checks-passed" no
api_gateway_stage Name of the API Gateway stage string "prod" no
domain_settings n/a
object({
enable = bool
domain_name = string
zone_id = string
certificate_arn = string
endpoint_type = string
security_policy = string
})
{
"certificate_arn": "",
"domain_name": "",
"enable": false,
"endpoint_type": "",
"security_policy": "",
"zone_id": ""
}
no
github_token_key GitHub Personal Access Token (PAT) string "/infrastructure/github/pat" no
github_webhook_secret GitHub webhook secret string "/infrastructure/github/all-checks-passed/webhook-secret" no
iam_path IAM path string "/" no
ignore_checks CSV GitHub checks to ignore string "" no
region AWS region string n/a yes
tags Tags for AWS resources map {} no

Outputs

Name Description
webhook Webhook to add in GitHub