noqdev / iambic

IAMbic is Version-Control for IAM. It centralizes and simplifies cloud access and permissions. It maintains an eventually consistent, human-readable, bi-directional representation of IAM in Git.
https://iambic.org
Apache License 2.0
285 stars 26 forks source link

Iambic Import not working successfully #677

Open MaxMoon771 opened 4 months ago

MaxMoon771 commented 4 months ago

Describe the bug We are implementing the open-source solution into our Gitlab environment and re-engineering the setup to work through its CI/CD Pipeline. we have had a lot of testing success, and have been interested incorporating the import process into a workflow. We are running into issues when the command runs through.

Error Message: 2024/06/26 14:12:59 [error ] Unhandled Exception error=ValidationError(model='ServiceControlPolicyItem', errors=[{'loc': ('Description',), 'msg': 'field required', 'type': 'value_error.missing'}]) exception=ValidationError image

Wondering if a AWS SCP is configured wrong from the expected formatting or what I might be missing.

Community Engagement Your vote counts! Please support this bug report by adding a 👍 reaction to the original issue, which will aid the community and maintainers in addressing this problem.

Please refrain from adding "+1" or "me too" comments, as these create unnecessary noise for issue followers and do not help in prioritizing the issue. If you wish to contribute to solving this issue or have submitted a pull request, please leave a comment.

WillNye commented 2 weeks ago

Sorry for the delayed response, taking a look now

WillNye commented 2 weeks ago

Could you provide a redacted version of the SCP template you're attempting to apply? It looks like maybe the Description wasn't being provided. I double checked the boto3 docs and it is a required field.