lib/aws_recon/collectors/ssm.rb in aws_recon-0.2.34 vs lib/aws_recon/collectors/ssm.rb in aws_recon-0.2.35

- old
+ new

@@ -33,10 +33,10 @@ response.parameters.each do |parameter| struct = OpenStruct.new(parameter.to_h) struct.string_type = parameter.type struct.type = 'parameter' - struct.arn = "arn:aws:#{@service}:#{@region}::parameter:#{parameter.name}" + struct.arn = "arn:aws:#{@service}:#{@region}:#{@account}:parameter:#{parameter.name}" resources.push(struct.to_h) end end