-
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
Add resource azurerm_log_analytics_workspace_linked_service #2139
Add resource azurerm_log_analytics_workspace_linked_service #2139
Conversation
I am now wondering if it should be renamed to azurerm_log_analytics_workspace_linked_service. I can't seem to find a clear preference in the resources mentioned in the docs. Some child resources use only their names (e.g.: subnets) and others use the parent resource in the name as well (network interfaces, storage). Let me know if this should be done. I have this change ready in another branch that I can merge into this. |
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.
Hi @draggeta,
Thank you for the new resource, it mostly LGTM aside from some minor comments I have left inline. The only major issue for me is removing the separate import tests and appending them to the regular ones.
Look forward to getting this merged once those comments are addressed 🙂 thanks!
azurerm/provider.go
Outdated
@@ -206,6 +206,7 @@ func Provider() terraform.ResourceProvider { | |||
"azurerm_lb_probe": resourceArmLoadBalancerProbe(), | |||
"azurerm_lb_rule": resourceArmLoadBalancerRule(), | |||
"azurerm_local_network_gateway": resourceArmLocalNetworkGateway(), | |||
"azurerm_log_analytics_linked_service": resourceArmLogAnalyticsLinkedService(), |
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.
I agree the name should probably be azurerm_log_analytics_workspace_linked_service
, thoughts @tombuildsstuff?
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.
I've renamed the resource. Will also change the description up above.
…analytics-linked-services
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 quick updates! LGTM now 👍
hi @draggeta Just to let you know that this has been released as a part of v1.18 of the AzureRM Provider (the full changelog is available here). You can upgrade to this by specifying the version in the provider block (as shown below) and then running
Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This resource adds the ability to link OMS Workspaces and Azure Automation Accounts (and possibly others in future) together.
Closes #2080
To do:
Example
Exports
The following items are also exported
id
: The ID of the resource. This is generated by Azure itself.name
: The name of the resource. This is generated by Azure itself.Acceptance tests