[inventory_aws_conformance] use consistent sg order in script (#54423)
* [inventory_aws_conformance] Use consistent security group order for the script
This commit is contained in:
parent
d66f3de3dc
commit
cbfe77ad63
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class BotoInstance(InstanceBase):
|
||||||
self.dns_name = 'ec2-12-3-456-78.compute-1.amazonaws.com'
|
self.dns_name = 'ec2-12-3-456-78.compute-1.amazonaws.com'
|
||||||
self.eventsSet = None
|
self.eventsSet = None
|
||||||
self.group_name = None
|
self.group_name = None
|
||||||
self.groups = [SecurityGroup(k, v) for k, v in self._ignore_security_groups.items()]
|
self.groups = [SecurityGroup(k, v) for k, v in sorted(self._ignore_security_groups.items())]
|
||||||
self.id = instance_id
|
self.id = instance_id
|
||||||
self.instance_profile = {
|
self.instance_profile = {
|
||||||
'arn': 'arn:aws:iam::{0}:instance-profile/developer'.format(owner_id),
|
'arn': 'arn:aws:iam::{0}:instance-profile/developer'.format(owner_id),
|
||||||
|
|
Loading…
Reference in a new issue