Appliscale / perun

A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
https://perun-for-aws.appliscale.io
Apache License 2.0
92 stars 8 forks source link

Do not abort if ~/.aws/credentials are not present #158

Closed mwpolcik closed 5 years ago

mwpolcik commented 6 years ago

If ~/aws.credentials are not present you can't validate your template. This is not a good approach, because:

  1. You might want to run perun on ec2 with instance profile when credentials are passed in a different way. Maybe perun should behave like aws-cli and look for credentials in many locations e.g. from environment variables etc.

  2. You may want to just check if template is valid using offline validation, in that case just perform offline validation and inform user that perun was not able to find credentials to make call to aws for online validation.

maxiwoj commented 6 years ago

Perform validation even when .aws/credentials are not present

maxiwoj commented 5 years ago

closed by https://github.com/Appliscale/perun/pull/172