-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Eventhub public_network_access_enabled =false is not working in azure rm terraform #18717
Comments
Hey @xiaxyi , could you take a look at this? |
@Amier3 checking |
@dhanasri-kolagana I see you are using dynamic and for_each for the network rule sets, may I know how many network_rulesets are you having in do you mind helping me to test below example config and see if the
|
Hi @dhanasri-kolagana , any update? |
Any updates on this? I'm using Terraform 1.2.7 and AzureRM 3.36.0. Error: the value of public network access of namespace should be the same as of the network rulesets
|
I found today that setting default_action=Deny sets the "Public Network Access" radio buttons to "Selected Networks", and setting public_network_access_enabled=false sets the radio buttons to "Deny". Additionally, public_network_access_enabled is set in 2 locations; one in Microsoft.EventHub/namespaces, and a second in Microsoft.EventHub/namespaces/networkRuleSets, and these must match. If this is intentional, the documentation needs to be updated to reflect this. But I would expect the argument to only be set once and then be used to update the Azure resource in both locations with the same value.
|
Hi, any update on this? I'm working to secure our event hub to private endpoints only. My terraform code looks like:
I also have a private endpoint configured. This event hub is where we send Kubernetes audit logs via the I confirmed that the private endpoint DNS resolves from a VM in the subnet where the endpoint is connected, however after running Now after starting to type this, I also tried setting I confirmed pretty much right away after setting |
Is there an existing issue for this?
Community Note
Terraform Version
1.3.2
AzureRM Provider Version
3.25.0
Affected Resource(s)/Data Source(s)
Eventhub namespace
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
public network should be disabled
Actual Behaviour
No response
Steps to Reproduce
terraform plan
Important Factoids
No response
References
#18054
tried to change version but no luck
The text was updated successfully, but these errors were encountered: