Skip to content

Use clear, shorter, deterministic names for internal resources #53

Open
@allquixotic

Description

@allquixotic

I would like to suggest using clear, deterministic, shorter names for artifacts/resources that SSO Extensions creates.

Example: "env-aws-sso-extensions-f-envindependentutilityenv-10ygvcq...." (more stuff I'm not listing for security reasons) is the name of an S3 bucket in our stack where I have to put links_data and permission_sets.

To pull this string apart into its component pieces, we have:

env-: The name of the Environment in the config file (config/env.yaml) - OK, this is fine.
aws-sso-extensions-f-: Seems like the name of the project overall, just shortened a bit. It can be shortened more to ssox or ssoex.
envindependentutilityenv: This is really confusing for me, and this descriptor does not at all tell me "This is where you need to put the links_data and permission_sets".

10ygvcq...: This is a unique identifier because S3 buckets have to be unique globally. Fine.

I understand the reason it's so long is because CDK is auto generating this horrible name, but this is not user-friendly. It makes it difficult for us to understand what these objects are for.

Similarly with the CodePipelines and other aspects of the support stacks for SSO Extensions, they are too long and difficult to understand.

I would recommend shortening "AWS SSO Extensions for Enterprise" to "ssox" or "ssoex" to make room for more descriptive names. If the unique identifier strings are still required on the end of bucket names and pipelines, that's fine -- I'm mainly concerned with the prefix part that's confusing, and the envindependentutilityenv which is even more confusing.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestp3Priority 3 tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions