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

DSP-774-fix-error-using-reserved-name-for-var #64

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

Yasmine-97
Copy link
Contributor

@Yasmine-97 Yasmine-97 commented Jan 20, 2025

https://remerge.atlassian.net/browse/DSP-774
The variable name "version" is reserved due to its special meaning inside module blocks.

The variable name "version" is reserved due to its special meaning inside module blocks.
@Yasmine-97 Yasmine-97 requested a review from a team as a code owner January 20, 2025 11:35
@remerge-hal
Copy link

This comment ensures that the correct Slack channel is notified after the team/project label DSP has been added to this pull request.

See this comment for details.

@Yasmine-97 Yasmine-97 changed the title Use valid tf var name DSP-774-fix-error-using-reserved-name-for=var Jan 20, 2025
@Yasmine-97 Yasmine-97 changed the title DSP-774-fix-error-using-reserved-name-for=var DSP-774-fix-error-using-reserved-name-for-var Jan 20, 2025
@Yasmine-97
Copy link
Contributor Author

@hollow is it possible to later add a validation step in CI to prevent this happening again?

@Yasmine-97 Yasmine-97 merged commit 38e2334 into main Jan 20, 2025
3 checks passed
@Yasmine-97 Yasmine-97 deleted the DSP-774-fix-error-using-reserved-named-for-var branch January 20, 2025 11:39
@hollow
Copy link
Member

hollow commented Jan 20, 2025

@hollow is it possible to later add a validation step in CI to prevent this happening again?

What kind of validation do you have in mind? You can test these changes before merging by using the branch name as ref=

@Yasmine-97
Copy link
Contributor Author

I mean in this terraform-modules repo not where it's used, the CI pipeline could have caught the error when the resource was first defined. Not sure if I am missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants