In yml files, the values should be properly indented under their respective keys.
the bootstrap.yml should be like this:
spring: cloud: bootstrap: enabled: true application: name: ms-service aws: service: name: lambda