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

ARN decoding functionality #96

Open
danielloader opened this issue May 16, 2024 · 0 comments
Open

ARN decoding functionality #96

danielloader opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@danielloader
Copy link

danielloader commented May 16, 2024

What problem are you facing?

Being able to decode the ARN fields on AWS objects to get components is handy for populating in IAM Role/Policy templates and other use cases.

I appreciate this is an AWS specific function so would need to be named accordingly e.g. awsArn

Prior art can be found via terraform

How could this Function help solve your problem?

The use case I'd like to utilise it for is referencing an EKS MR and knowing the region it's deployed in to - as far as I can see the only time this is referenced is the .status.atProvider.arn field.

You can play around with sprig's split functionality to split on colons, but that's what utility functions are for right?

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

No branches or pull requests

1 participant