cloudtools / cloudtools/troposphere
SSO::PermissionSet InlinePolicy should be a json-string
- Dominant language
- Python
- Stars
- 4.9k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, as for subject, looking at AWS specification:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html
SSO::PermissionSet InlinePolicy should be a json formatted string.
Currently is defined as a dict and in the final template output (yaml) is formatted "like" a yaml "object".
Best solution should be to allow parsing it as dict but to dump it in final template output using json.dumps (dunno if this is possible...)
Regards, Alberto.
Contributor guide
Research direction
Start by locating the SSO::PermissionSet resource definition and the template serialization path for InlinePolicy. Compare the current YAML output with the AWS CloudFormation specification linked in the issue, then inspect existing tests for resource property serialization. Done means dictionary input remains accepted while the final InlinePolicy value is emitted as a JSON-formatted string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100