-
Notifications
You must be signed in to change notification settings - Fork 476
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
Support for api_server_access_profile Block because api_server_authorized_ip_ranges is deprecreated #363
Comments
One more comment on this Issue. |
@cloebig I see the problem now, it seems in PR #361 the @lonegunmanb could you please confirm ? |
Yeah it looks like we never has this I'll open a new pr to add this nested block, and thanks @cloebig for catch this issue before we launch v7.0! |
After review the current code I finally recall why we haven't @cloebig the input variable is assigned to |
Hello @lonegunmanb |
Hi @cloebig the argument is here, it has been marked as deprecated and would be removed in provider v4.0. Maybe we should do test to verify whether migrate from |
After some naive tests I think converting from |
Is there an existing issue for this?
Description
Hello,
i got this new Error Message for this Condition.
precondition { condition = !var.public_network_access_enabled || try(contains(var.api_server_authorized_ip_ranges, "0.0.0.0/32"), false) error_message = "When
public_network_access_enabledis set to true,
0.0.0.0/32must be added to
authorized_ip_rangesin the
api_server_access_profile block(https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#public_network_access_enabled)." }
but it looks like the Block
api_server_access_profile
doesn't exists in main.tfNew or Affected Resource(s)/Data Source(s)
3.55.0
Potential Terraform Configuration
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#api_server_access_profile
The text was updated successfully, but these errors were encountered: