Skip to content

SPHTech-Platform/terraform-aws-rds-lambda-postgres-provisioner

 
 

Repository files navigation

AWS RDS Lambda Postgres provisioner

Requirements

Name Version
terraform >= 1.4
aws >= 4.63

Providers

Name Version
aws >= 4.63

Modules

Name Source Version
provisoner_lambda terraform-aws-modules/lambda/aws ~> 5.0

Resources

Name Type
aws_lambda_layer_version.psycopg2_lambda_layer resource
aws_lambda_invocation.default data source
aws_lambda_layer_version.psycopg2_lambda_layer data source

Inputs

Name Description Type Default Required
create_database Flag to create database or not bool true no
enabled Defines whether this module should create resources bool true no
invoke Defines whether lambda function should be invoked immediately after provisioning bool true no
lambda_name value of lambda name string n/a yes
rds_arn value of rds arn string n/a yes
rds_endpoint value of rds port string n/a yes
rds_master_user_secret_arn values of rds master user secret arn string n/a yes
rds_master_user_secret_name values of rds master user secret name string null no
rds_port value of rds port string n/a yes
rds_user_secret_name value of rds user secret name string n/a yes
timeout The amount of time your Lambda Function has to run in seconds number 30 no
vpc_config VPC configuration for Lambda function
object({
vpc_id = string
subnet_ids = list(string)
security_group_ids = list(string)
})
n/a yes

Outputs

No outputs.

About

Terraform module to provision a database and user in AWS RDS Postgres instance within a VPC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 53.0%
  • Python 47.0%