Skip to content

Commit

Permalink
azurerm_security_center_automation - remove forceNew from tags (#26292)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei authored Jun 24, 2024
1 parent c1fbc71 commit 78f1974
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func resourceSecurityCenterAutomation() *pluginsdk.Resource {
},
},

"tags": commonschema.TagsForceNew(),
"tags": commonschema.Tags(),
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ resource "azurerm_security_center_automation" "test" {
source {
event_source = "Alerts"
}
tags = {
Env2 = "Test2"
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.Locations.Primary)
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/security_center_automation.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The following arguments are supported:

* `enabled` - (Optional) Boolean to enable or disable this Security Center Automation. Defaults to `true`.

* `tags` - (Optional) A mapping of tags assigned to the resource. Changing this forces a new resource to be created.
* `tags` - (Optional) A mapping of tags assigned to the resource.

---

Expand Down

0 comments on commit 78f1974

Please sign in to comment.