modules/mu/clouds/aws/role.rb in cloud-mu-3.1.5 vs modules/mu/clouds/aws/role.rb in cloud-mu-3.1.6
- old
+ new
@@ -1184,10 +1184,10 @@
statement["Resource"] << stream_id
elsif id.match(/:s3:/)
statement["Resource"] << id+"/*"
end
else
- raise MuError, "Couldn't find a #{target["entity_type"]} named #{target["identifier"]} when generating IAM policy"
+ raise MuError, "Couldn't find a #{target["type"]} named #{target["identifier"]} when generating IAM policy"
end
else
target["identifier"] += target["path"] if target["path"]
statement["Resource"] << target["identifier"]
end