skip to Main Content

Amazon web services – i was trying o build a stack using aws cdk , application load balancer with two ec2 instance

@jsii/kernel.SerializationError: Passed to parameter props of new aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationTargetGroup: Unable to deserialize value as aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationTargetGroupProps | undefined ├── 🛑 Failing value is an object │ { '$jsii.struct': [Object] } ╰── 🔍 Failure reason(s): ╰─ Key 'targets': Unable to deserialize value as…

VIEW QUESTION

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