* 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.
14 lines
500 B
Properties
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 |