java-tutorials/spring-cloud/spring-cloud-aws/src/main/resources/application-instance-profile.properties
Satish Pandey fab4aec7a1 Instance profile credentials example. (#3401)
* Instance profile credentials example.

* InstanceProfile CloudFormation template included to provision AWS
environment.

* Included java package installation under Yaml script.

* Using SpringApplication reference to prepare application context.

* Introducing SpringCloudS3Service to handle all S3 operations.
2018-01-27 06:24:22 +01:00

14 lines
500 B
Properties

# Don't try to create DataSouce when running tests which don't need a DataSource
spring.autoconfigure.exclude=\
org.springframework.cloud.aws.autoconfigure.jdbc.AmazonRdsDatabaseAutoConfiguration,\
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
cloud.aws.region.auto=true
# Load instance profile credentials
cloud.aws.credentials.instanceProfile=true
# Disable auto cloud formation
cloud.aws.stack.auto=false
# Disable web environment
spring.main.web-environment=false