Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Add aws s3:// uri support #565

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update documentation on how to hide warning message logged by AWS SDK…
… on application startup.

Fixes gh-556
  • Loading branch information
maciejwalkowiak authored and tmnuwan12 committed Jun 7, 2020
commit 02eb1b2596e887fd27e8cdc3c247cc94571375b6
12 changes: 12 additions & 0 deletions docs/src/main/asciidoc/spring-cloud-aws.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ use of the modules. A typical XML configuration to use Spring Cloud AWS is outli
</beans>
----

[TIP]
====
On application startup, for its internal purposes Spring Cloud AWS performs a check if application runs in AWS cloud environment
by using `EC2MetadataUtils` class provided by AWS SDK. Starting from version 1.11.678, AWS SDK logs a warning message with exception when this check is made outside of AWS environment.
This warning message can be hidden by setting `ERROR` logging level on `com.amazonaws.util.EC2MetadataUtils` class.
[source,indent=0]
----
logging.level.com.amazonaws.util.EC2MetadataUtils=error
----
====

==== SDK credentials configuration
In order to make calls to the Amazon Web Service the credentials must be configured for the the Amazon SDK. Spring Cloud AWS
provides support to configure an application context specific credentials that are used for _each_ service call for requests done
Expand Down