Skip to content

Provisioned Lambda timeout on Loading Secret Manager #659

Discussion options

You must be logged in to vote

Solved:

steps:

  1. create VPC endpoint
terraform {
  source = "git::[email protected]:gruntwork-io/terraform-aws-vpc.git//modules/vpc-interface-endpoint?ref=v0.22.4"
}

inputs = {
  vpc_id             = dependency.vpc.outputs.vpc_id
  subnet_ids         = dependency.vpc.outputs.private_app_subnet_ids

  create_https_security_group = true
  enable_secretsmanager_endpoint = true
}
  1. make sure enable "should_create_outbound_rule" on lambda provisioning
  run_in_vpc = true
  vpc_id     = dependency.vpc.outputs.vpc_id
  subnet_ids = dependency.vpc.outputs.private_app_subnet_ids
  should_create_outbound_rule = true

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Etiene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment