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

Do not install VM extensions when var.allow_extension_operations is false #37

Conversation

neonwhiskers
Copy link
Member

Updated the for_each block to dynamically control extension creation.

Copy link
Member

@rswrz rswrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add a note to the description of the extensions variable about its dependency on the allow_extension_operations variable. Make sure it is clear that the list of extension names in the extensions variable will be ignored if allow_extension_operations is set to true.

@rswrz rswrz added the fix label Oct 15, 2024
@rswrz rswrz changed the title Updated the for_each block to dynamically control extension creation. Do not install VM extensions when var.allow_extension_operations is false Oct 15, 2024
Signed-off-by: Melody Sofia Eroshevich <se@cloudeteer.de>
Signed-off-by: Melody Sofia Eroshevich <se@cloudeteer.de>
@neonwhiskers neonwhiskers force-pushed the 36-bug-allow_extension_operations-does-not-properly-control-creation-of-extensions branch from dde77de to 4668001 Compare October 16, 2024 09:03
variables.tf Outdated Show resolved Hide resolved
Signed-off-by: Melody Sofia Eroshevich <se@cloudeteer.de>
@neonwhiskers neonwhiskers force-pushed the 36-bug-allow_extension_operations-does-not-properly-control-creation-of-extensions branch from 466c3cd to 24d4e59 Compare October 16, 2024 09:14
rswrz
rswrz previously approved these changes Oct 16, 2024
@rswrz
Copy link
Member

rswrz commented Oct 22, 2024

@Phil-Thoennissen, as discussed in our weekly, please ad a unit test for this.

cc: @lixhunter

@rswrz rswrz self-requested a review October 22, 2024 09:14
@Phil-Thoennissen Phil-Thoennissen force-pushed the 36-bug-allow_extension_operations-does-not-properly-control-creation-of-extensions branch 2 times, most recently from 2d90050 to e95c2ff Compare October 22, 2024 13:39
Signed-off-by: philthoennissen <pth@cloudeteer.de>
@Phil-Thoennissen Phil-Thoennissen force-pushed the 36-bug-allow_extension_operations-does-not-properly-control-creation-of-extensions branch from e95c2ff to 1abef35 Compare October 22, 2024 13:40
@Phil-Thoennissen Phil-Thoennissen merged commit 5c2d0aa into main Oct 22, 2024
11 checks passed
@Phil-Thoennissen Phil-Thoennissen deleted the 36-bug-allow_extension_operations-does-not-properly-control-creation-of-extensions branch October 22, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Bug]: allow_extension_operations Does Not Properly Control Creation of Extensions
4 participants