cloudtools / cloudtools/troposphere

SSO::PermissionSet InlinePolicy should be a json-string

Open
#2,146 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.