lib/idlc-sdk-deploy/config.rb in idlc-sdk-deploy-1.0.21 vs lib/idlc-sdk-deploy/config.rb in idlc-sdk-deploy-1.0.22
- old
+ new
@@ -75,11 +75,11 @@
metadata['application'] = application['applications'].first
# find db instance
metadata['instances'].each do |instance|
- if instance['hostname'].start_with? 'db'
+ if (instance['hostname'].start_with? 'db' || instance['hostname'].start_with? 'rds')
metadata['db_instance'] = instance
break
end
end
@@ -136,11 +136,10 @@
@region = region
Idlc::Utility.check_for_creds
rescue Idlc::Utility::MissingCredentials => e
- err("ERROR: #{e.message}\n")
- exit 1
+ msg("WARN: #{e.message}\nFalling back to implicit authentication.")
end
def configure_state(bucket, sub_bucket, working_directory)
validate_environment