-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add Network ACL
for the resource Web Publishing Subscription
#14827
Conversation
…r-azurerm into upstream/webpubsub
…r-azurerm into upstream/webpubsub
…r-azurerm into upstream/webpubsub
network ACL
for the resource Web Publishing Subscription
Network ACL
for the resource Web Publishing Subscription
category { | ||
name = "MessagingLogs" | ||
enabled = false | ||
} | ||
category { | ||
name = "ConnectivityLogs" | ||
enabled = true | ||
} | ||
category { | ||
name = "HttpRequestLogs" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rather than exposing categories like this, we should be making these properties and booleans - as we've seen with SignalR doing this leads to issues unfortunately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tombuildsstuff Are you suggesting to modify the code as below?
live_trace {
"enabled": bool,
"MessagingLogs_enabled" :bool,
"ConnectivityLogs_enabled": bool,
"HttpRequestLogs_enabled":bool,
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i believe that is what he is getting at
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed the code in the corresponding PR: Web Publishing Subscription
An `event_handler` block supports the following: | ||
|
||
* `setting` - (Required) An `setting` block as defined below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this two blocks deep? would it not make sense to remove the settings block and make event_handler a list of the settings blocks at the top level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, I changed the schema definition accordingly
--- PASS: TestAccWebPubsubHub_requiresImport (439.00s)
--- PASS: TestAccWebPubsubHub_basic (460.46s)
--- PASS: TestAccWebPubsubHub_complete (466.93s)
--- PASS: TestAccWebPubsubHub_withAuthUpdate (679.75s)
--- PASS: TestAccWebPubsubHub_withMultipleEventhandlerSettingsUpdate (683.83s)
--- PASS: TestAccWebPubsubHub_withPropertyUpdate (704.96s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/webpubsub 705.663s
* merge upstream main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @xiaxyi LGTM!
This functionality has been released in v2.96.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Add
Network ACL
configuration support forWeb Publishing Subscription
This PR depends on
Web Publishing Subscription
ACC test: