1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello,
Do use the default chain, you do not need to provide it explicitly since it is the default. You also do not need to provide the region.
The error ""Expected a profile or property definition on line 3"" tells you that your ~/.aws/config or ~/.aws/credentials file is corrupted. You should delete these corrupt files.
ContainerCredentialsProvider
is the correct provider to use if you do not want to use the default.
Cheers,
Michael
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
There are, that's what the error is complaining about.
~
is the home location for the user that your component is running as. This may be a different user than you are currently logged in as.There are no files on this location ... As I mentioned with V1 version its working fine but when we use V2 its giving this errors.
If you want to directly use only the correct credential provider, it is
ContainerCredentialsProvider
what location are you looking at? By default your component runs as ggc_user, which means you need to look at
/home/ggc_user/.aws
. If your component is running as root, it will be/root/.aws
it worked with v1 because you were not using the default chain which includes the profile credential provider.