-
-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Labels
component: parameter-storeParameter Store integration related issueParameter Store integration related issuecomponent: secrets-managerSecrets Manager integration related issueSecrets Manager integration related issue
Milestone
Description
Type: Bug
Component:
Parameter Store (v3.1.1)
Describe the bug
Parameter Store cannot be disabled in a profile-specific config file
Sample
working example
application.yml
spring:
config:
import:
- aws-parameterstore:/ecs-config/application/
cloud:
aws:
parameterstore:
enabled: false not working example
application.yml
spring:
config:
import:
- aws-parameterstore:/ecs-config/application/together with
application-dev.yml
spring:
cloud:
aws:
parameterstore:
enabled: false the application does not start with dev profile
err:
***************************
APPLICATION FAILED TO START
***************************
Description:
Config data resource '[ParameterStoreConfigDataResource@306851c7 context = '/ecs-config/application/', optional = false]' via location 'aws-parameterstore:/ecs-config/application/' does not exist
Action:
Check that the value 'aws-parameterstore:/ecs-config/application/' at class path resource [application.yml] - 4:9 is correct, or prefix it with 'optional:'
Minimal non-working example project
https://github.com/dominik-kovacs/spring-cloud-aws-parameter-store-demo
Metadata
Metadata
Assignees
Labels
component: parameter-storeParameter Store integration related issueParameter Store integration related issuecomponent: secrets-managerSecrets Manager integration related issueSecrets Manager integration related issue