After brief experimentation with the HOME variable it was found that the terraform libraries are behaving inconsistently across cloud platforms, hence it is necessary to find appropriate ways how to enforce specific files to be loaded.
For AWS found way how to enforce specific credential file is environment variable: AWS_SHARED_CREDENTIALS_FILE.
After brief experimentation with the HOME variable it was found that the terraform libraries are behaving inconsistently across cloud platforms, hence it is necessary to find appropriate ways how to enforce specific files to be loaded.
For AWS found way how to enforce specific credential file is environment variable:
AWS_SHARED_CREDENTIALS_FILE
.