Skip to content
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

[catalog-backend-module-aws] - Ability to define Dependency tags #1670

Open
ogarbe opened this issue Oct 14, 2024 · 0 comments
Open

[catalog-backend-module-aws] - Ability to define Dependency tags #1670

ogarbe opened this issue Oct 14, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@ogarbe
Copy link

ogarbe commented Oct 14, 2024

Feature Suggestion

In this plugin, we can define the Owner tag in the general config, but the 4 dependency tags

const TAG_DEPENDS_ON = 'dependsOn';
const TAG_DEPENDENCY_OF = 'dependencyOf';
const TAG_SYSTEM = 'system';
const TAG_DOMAIN = 'domain';

are hardcoded.
It would be good to be able to map these relation as we can do for Owner tag, so that the mapping for these 4 tags can be attached to any AWS tag existing.

Possible Implementation

To implement this, the tags code would need to evolve a bit to replace

const dependencyTags = [TAG_DEPENDENCY_OF, TAG_DEPENDS_ON];
const relationshipTags = [TAG_SYSTEM, TAG_DOMAIN];

by 2 maps of tags
TAG_DEPENDENCY_OF => awsDependencyOffTag
TAG_DEPENDS_ON => awsDependencyOnTag

and the config would propose the ability to force these 4 tag value

Context

@ogarbe ogarbe added the kind/enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant