feat: Make auto_provisioning_defaults a non-beta feature #1077
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1008
This PR simply makes the auto-provisioning defaults block not beta-exclusive, but I also want to add the
min_cpu_platform
argument in the block as specified here since it seems we added the feature for default node pools in #1057. However, I don't understand why we pull the value from the first node pool usinglookup(var.node_pools[0],...)
because, from what I understand,min_cpu_platform
is a cluster-level variable, so it feels weird to read from a specific node pool's arguments, likepool-01
, even though it will apply to other node pools as well. Shouldn't it be its own variable and read in likevar.min_cpu_platform
or something similar?