Skip to content

Commit

Permalink
Fix region selection
Browse files Browse the repository at this point in the history
  • Loading branch information
x4v13r64 committed Nov 12, 2020
1 parent c35670e commit d9541de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScoutSuite/providers/aws/resources/ec2/snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _parse_snapshot(self, raw_snapshot):
snapshot_dict['volume_size'] = raw_snapshot.get('VolumeSize')
snapshot_dict['create_volume_permissions'] = raw_snapshot.get('CreateVolumePermissions')

snapshot_dict['arn'] = 'arn:aws:ec2:{}:{}:snapshot/{}'.format(self.get('region'),
snapshot_dict['arn'] = 'arn:aws:ec2:{}:{}:snapshot/{}'.format(self.region,
raw_snapshot.get('OwnerId'),
raw_snapshot.get('name'))

Expand Down

0 comments on commit d9541de

Please sign in to comment.