You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
$ terraform apply -auto-approve
╷
│ Error: Missing required argument
│
│ on 005_bastion.tf line 32, in resource "azurerm_bastion_host""tked_neu_bastion1":
│ 32: ip_configuration {
│
│ The argument "public_ip_address_id" is required, but no definition was found.
╵
Expected Behaviour
Provision bastion with no public IP and private IP connectivity enabled only.
When sku is "Premium" and ip_connect_enabled is set to true, a public IP should not be required.
Actual Behaviour
Cannot proceed without not creating a public IP.
Tried creating the bastion using the azure cli and Bicep but they all required a public IP even with the same parameters as the terraform code sets above.
Steps to Reproduce
terraform apply
Important Factoids
no
References
no
The text was updated successfully, but these errors were encountered:
@rcskosir I think this is a huge BUG and not an enchacement because you are effectively deprived of the option to use private IPs as the endpoint when selecting "Premium" as the sku.
Is there an existing issue for this?
Community Note
Terraform Version
1.9.6
AzureRM Provider Version
4.13.0
Affected Resource(s)/Data Source(s)
azurerm_bastion_host
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Provision bastion with no public IP and private IP connectivity enabled only.
When sku is "Premium" and ip_connect_enabled is set to true, a public IP should not be required.
Actual Behaviour
Cannot proceed without not creating a public IP.
Tried creating the bastion using the azure cli and Bicep but they all required a public IP even with the same parameters as the terraform code sets above.
Steps to Reproduce
terraform apply
Important Factoids
no
References
no
The text was updated successfully, but these errors were encountered: