Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

gha-trigger/example-terraform

Repository files navigation

example-terraform

Example Terraform Configuration for gha-trigger

https://gha-trigger.github.io/getting-started

Requirements

Name Version
terraform >= 1.2
aws 4.32.0
local 2.2.3

Providers

Name Version
aws 4.32.0
local 2.2.3

Modules

No modules.

Resources

Name Type
aws_api_gateway_deployment.main resource
aws_api_gateway_integration.main resource
aws_api_gateway_integration_response.main resource
aws_api_gateway_method.main resource
aws_api_gateway_method_response.main resource
aws_api_gateway_resource.main resource
aws_api_gateway_rest_api.main resource
aws_api_gateway_stage.default resource
aws_cloudwatch_log_group.lambda_log resource
aws_iam_role.lambda resource
aws_iam_role_policy.lambda_log resource
aws_iam_role_policy.read_secret resource
aws_lambda_function.main resource
aws_lambda_permission.main resource
aws_secretsmanager_secret.main resource
aws_secretsmanager_secret.trigger_workflow resource
aws_secretsmanager_secret_version.main resource
aws_secretsmanager_secret_version.trigger_workflow resource
aws_caller_identity.current data source
aws_iam_policy_document.lambda data source
aws_iam_policy_document.lambda_log data source
aws_iam_policy_document.read_secret data source
local_file.secret data source
local_file.secret_trigger_workflow data source

Inputs

Name Description Type Default Required
api_gateway_name n/a string "test-gha-trigger" no
function_name Lambda Function Name string "test-gha-trigger" no
lambda_architecture n/a string "arm64" no
lambda_role_name n/a string "test-gha-trigger" no
region n/a string "us-east-1" no
secretsmanager_secret_name_main n/a string "test-gha-trigger-main" no
secretsmanager_secret_name_trigger_workflow n/a string "test-gha-trigger-trigger-workflow" no
zip_path n/a string "gha-trigger-lambda_linux_arm64.zip" no

Outputs

No outputs.

LICENSE

MIT


This document is generated by terraform-docs

$ terraform-docs . > README.md

Please see .terraform-docs.yml and docs too.

About

Example of Terraform Configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published