azurerm_log_analytics_workspace - add check for soft-deleted but linked workspaces#29137
Merged
sreallymatt merged 1 commit intomainfrom Mar 26, 2025
Merged
azurerm_log_analytics_workspace - add check for soft-deleted but linked workspaces#29137sreallymatt merged 1 commit intomainfrom
azurerm_log_analytics_workspace - add check for soft-deleted but linked workspaces#29137sreallymatt merged 1 commit intomainfrom
Conversation
8c510e2 to
4f7ba7b
Compare
Collaborator
Author
14 tasks
sreallymatt
added a commit
that referenced
this pull request
Mar 26, 2025
jackofallops
added a commit
that referenced
this pull request
Mar 28, 2025
* CHANGELOG.md for v4.25.0 * Update CHANGELOG.md #29126 * Update CHANGELOG.md #28647 * Update CHANGELOG.md #29153 * Update CHANGELOG.md #29131 * Update CHANGELOG.md #29090 * Update CHANGELOG.md #29137 * Update for #28781 * Update for #29158 * Update for #29073 * Update for #28149 * Update for #28730 * Update for #29157 * Update for #29135 * Update for #29184 * Update for #29093 * Update for #29071 * Update for #28371 * Update for #28560 * Update CHANGELOG.md #29199 * Update CHANGELOG.md for #29206 * prep for release * Update CHANGELOG.md --------- Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Co-authored-by: stephybun <steph@hashicorp.com> Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com> Co-authored-by: jackofallops <ste@hashicorp.com>
Contributor
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Community Note
Description
Prequisite: #29120
Supersedes #27522
Probably easier to review if #29120 is merged first.
This resolves an issue raised internally, if a workspace is linked to a log analytics cluster outside of Terraform, then deleted without unlinking first, recreation of the resource using Terraform caused an error as the
skucannot be updated while linked andLAClusterwas not an option forsku.This PR does 2 things:
LAClustertoskuto allow a user to update to this value once linked, avoiding a diff.skutoLAClusterduring the create.As testing this requires a manual step, I've added
terraform plan/terraform applyoutputs to show the fix is working.PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Existing tests:
No additional test added as mentioned in description.
terraform output
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_resource- support for thething1property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #28743
Note
If this PR changes meaningfully during the course of review please update the title and description as required.