AWS Parameter Store and AWS Secrets Manager left unbound #247
-
We are using AWS Parameter Store and AWS Secrets Manager in our application and they have worked fine. We are upgrading our application from Spring Boot 2.2.7 and Spring Cloud Greenwich to Spring Boot 2.6.3, Spring Cloud 2021.0.0 and Spring Cloud AWS 2.3.3. Now application gives error concerning aws-parameterstore and aws-secretsmanager Binding to target [Bindable@2a3888c1 type = java.util.List<org.springframework.boot.context.config.ConfigDataLocation>, value = 'none', annotations = array[@org.springframework.boot.context.properties.bind.Name(value="import")]] failed: In our application-aws.yml file we have spring: aws: We don't have spring.application.name in our application.yml files. On AWS we have a lot of parameters e.g. /config/application/dynatrace.url and secrets under /secret/application e.g. postgres.password I have thought that all parameters and secrets are loaded like earlier. Earlier we used also bootstrap.yml. What have I done wrong or what I have not noticed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@github-vemma can you try with Spring Cloud AWS 2.4.0 (as its compatible with Spring Boot 2.6). If same problem happens we will investigate. |
Beta Was this translation helpful? Give feedback.
@github-vemma can you try with Spring Cloud AWS 2.4.0 (as its compatible with Spring Boot 2.6). If same problem happens we will investigate.