spring.profiles.include[0]=common
spring.profiles.include[1]=local
But using this in a configuration file provided via cloud config it does not work. Instead it expects the value to be a comma separated string value:
The difference in behavior is not documented anywhere.