question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spring Cloud AWS 2.4.1 / SpringBoot 2.6.6 - ParameterStore - File extension is not known to any PropertySourceLoader

See original GitHub issue

Type: Bug

Component: Spring Cloud AWS 2.4.1 SpringBoot 2.6.6

Describe the bug When specifying spring.config.import: 'aws-parameterstore:' application does not even start. Debugging shows that LocationResolver for aws-parameterstore doesn’t even exist in the context.

When specifying spring.config.import: 'aws-parameterstore:/existing/key/prefix/' application does not start saying that key was not found. Debugging shows AWSParameterstore related classes are not invoked at all. No call to AWS is performed during app start (wireshark).

Sample

plugins {
    id 'java'
    id 'org.springframework.boot' version '2.6.6'
}
dependencies {
    implementation 'io.awspring.cloud:spring-cloud-starter-aws'
    implementation 'io.awspring.cloud:spring-cloud-aws-parameter-store-config'
}
dependencyManagement {
    imports {
        mavenBom "io.awspring.cloud:spring-cloud-aws-dependencies:2.4.1"
    }
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
maciejwalkowiakcommented, Jun 8, 2022

No worries @hajdukd 😃

0reactions
hajdukdcommented, Jun 9, 2022

Thanks Ducky

Read more comments on GitHub >

github_iconTop Results From Across the Web

spring-cloud/spring-cloud-aws - Gitter
Question on spring-cloud-aws-parameter-store : If I change a value of a parameter stored in AWS ... File extension is not known to any...
Read more >
Resolving Spring Boot Properties Using the AWS Parameter ...
Learn how to obtain configuration properties for your Spring Boot application using the Parameter Store of the AWS Systems Manager (SSM)
Read more >
Spring boot integrating with last version of parameter-store or ...
I am trying to create a spring boot app integrating with the latest version of "spring-cloud-aws-parameter-store-config (3.0.0-SNAPSHOT)" ...
Read more >
Spring boot reading parameters from AWS parameter store
cloud:spring-cloud-starter-aws-parameter-store-config . I want to use AWSSimpleSystemsManagement to read configuration from AWS parameter store, ...
Read more >
Configuring region - Spring Cloud AWS
Integrating your Spring Cloud application with the AWS Parameter Store; 3.3. ... files (e.g. Spring Boot application configuration) and not be checked in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found