modules/mu/clouds/aws/role.rb in cloud-mu-2.0.0.pre.alpha9 vs modules/mu/clouds/aws/role.rb in cloud-mu-2.0.0.pre.beta1
- old
+ new
@@ -91,10 +91,10 @@
@mu_name+"-"+p.keys.first.upcase
}
end
if @config['import']
- MU.log "Attaching canned #{@config['import'].size > 1 ? "policies" : "policy"} #{@config['import'].join(", ")} to role #{@mu_name}", MU::NOTICE, details: @config['credentials']
+ MU.log "Attaching canned #{@config['import'].size > 1 ? "policies" : "policy"} #{@config['import'].join(", ")} to role #{@mu_name}", MU::NOTICE
configured_policies.concat(@config['import'].map { |p| p.gsub(/.*?\/([^:\/]+)$/, '\1') })
end
if !@config['bare_policies']
attached_policies = MU::Cloud::AWS.iam(credentials: @config['credentials']).list_attached_role_policies(