spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

AWS Parameter Store (SSM) Does Not Support Square Brackets for cloud.aws.rds.instances When Configuring RDS Datasource for Spring Boot

Open brobusf21 opened this issue 4 years ago • 0 comments

AWS SSM does not support square brackets in the parameter name which conflicts with how Spring Cloud AWS 2.3 wants us to configure our datasource in Spring Boot. See: https://docs.awspring.io/spring-cloud-aws/docs/2.3.0/reference/html/index.html#data-access-with-jdbc

Now that we have to define an index, we can not use SSM given that square brackets in the parameter name are not supported. I'm not sure if this was intentional or it is feature that needs to be addressed moving forward.

For example, not supported, /config/daisychain-label-code-generator-service/cloud.aws.rds.instances[0].db-instance-indentifer _Only a mix of letters, numbers

Screen Shot 2021-11-21 at 6 12 04 PM and the following 3 symbols .-_ are allowed._

Looking forward to hear about how we can overcome this challenge.

brobusf21 avatar Nov 22 '21 00:11 brobusf21