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

Allow AWSHelperFn for Tags properties #2271

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

benbridts
Copy link
Contributor

@benbridts benbridts commented Oct 2, 2024

Instead of checking the property name, we check the type of the value. This means that the Tags class gets checked, but other helper functions are allowed

We were running into this issue, because we have a custom resource that outputs a tag list.

I've also added tests for this case

instead of checking the property name, we check the type of the value

this means that the Tags class gets checked, but other helper functions are allowed
@benbridts benbridts changed the title Allow AWSHelperFn for Tag properties Allow AWSHelperFn for Tags properties Oct 2, 2024
@markpeek
Copy link
Member

markpeek commented Oct 2, 2024

@benbridts apologies for the regression and thank you for the PR. I will create a new release when I get time this morning.

@markpeek markpeek merged commit 7b2e63c into cloudtools:main Oct 2, 2024
5 of 6 checks passed
@markpeek
Copy link
Member

markpeek commented Oct 2, 2024

Released as 4.8.3.

@benbridts
Copy link
Contributor Author

Thanks!

@benbridts benbridts deleted the validate-tags-fix branch October 3, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants