skip to Main Content

Amazon web services – Set rds endpoint as an environment variable to Elastic Beanstalk in terraform

I have the following terraform script which creates Elastic Beanstalk with rds: resource "aws_elastic_beanstalk_application" "elb_app" { name = "my-app" } resource "aws_elastic_beanstalk_environment" "elb_env" { name = "my-env" application = aws_elastic_beanstalk_application.elb_app.name solution_stack_name = data.aws_elastic_beanstalk_solution_stack.net_latest.name setting { namespace = "aws:elasticbeanstalk:application:environment" name =…

VIEW QUESTION
Back To Top
Search