-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup #314
Backup #314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one nit.
This is used to determine the owner types.
Co-Authored-By: amar jandu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #314 +/- ##
==========================================
+ Coverage 89.47% 89.47% +<.01%
==========================================
Files 18 18
Lines 1662 1673 +11
==========================================
+ Hits 1487 1497 +10
- Misses 175 176 +1
Continue to review full report at Codecov.
|
The CLI output looks like this. This info is saved in a JSON file named backup.json
USERS:
{'name': '[email protected]', 'status': 'Enabled', 'policies': [{'IAMPolicy': {}}], 'roles': []}
]
GROUPS:
{'name': 'user_default', 'members': ['[email protected]',], 'policies': [{'IAMPolicy': {'Version': '2012-10-17', 'Statement': [{'Sid': 'fusGroupMember', 'Effect': 'Allow', 'Action': ['fus:GetGroup', 'fus:GetRole'], 'Resource': ['arn:hca:fus:::group/${fus:group_id}/', 'arn:hca:fus:::group/${fus:group_id}']}], 'Id': 'group:user_default'}}], 'owners': [], 'roles': ['default_user']}]
ROLES:
{'name': 'fusillade_admin', 'owners': [], 'policies': [{'IAMPolicy': {'Version': '2012-10-17', 'Statement': [{'Sid': 'fus_admin', 'Effect': 'Allow', 'Action': ['fus:'], 'Resource': 'arn:hca:fus:::*'}], 'Id': 'role:fusillade_admin'}}]}