lib/aws_recon/collectors/ec2.rb in aws_recon-0.3.0 vs lib/aws_recon/collectors/ec2.rb in aws_recon-0.3.1
- old
+ new
@@ -27,9 +27,10 @@
log(response.context.operation_name)
struct = OpenStruct.new
struct.attributes = response.account_attributes.map(&:to_h)
struct.type = 'account'
+ struct.arn = "arn:aws::#{@account}"
resources.push(struct.to_h)
end
end