terraform-aws-elastic-beanstalk-environment
terraform-aws-elastic-beanstalk-environment copied to clipboard
The additional_settings & RDS does not work
Hello,
I'm trying to add the RDS settings to my EB environments configuration, and it seems that functionality does not work at all.
Based on your documentation & AWS: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-rdsdbinstance
I'm trying to do like that:
additional_settings = [
{
namespace = "aws:rds:dbinstance"
name = "DBEngine"
value = "mysql"
},
{
namespace = "aws:rds:dbinstance"
name = "DBEngineVersion"
value = "8.0.21"
},
{
namespace = "aws:rds:dbinstance"
name = "DBInstanceClass"
value = "db.t2.micro"
},
{
namespace = "aws:rds:dbinstance"
name = "MultiAZDatabase"
value = "false"
},
{
namespace = "aws:rds:dbinstance"
name = "DBUser"
value = local.database.user
},
{
namespace = "aws:rds:dbinstance"
name = "DBPassword"
value = random_password.password.result
},
{
namespace = "aws:rds:dbinstance"
name = "DBDeletionPolicy"
value = "Delete"
},
{
namespace = "aws:rds:dbinstance"
name = "DBAllocatedStorage"
value = "5"
}
]
And this configuration is not creating any RDS DB & not attaching to the EB. Do you have any solution for that?
@mits87 have you checked relevant name fields and values?
did you get any solution ?