Skip to content
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

Bug Report : Continuous Destroy and then Create of azapi_resource diag_settings #939

Closed
kyogendra08 opened this issue May 1, 2024 · 1 comment · Fixed by #968
Closed

Comments

@kyogendra08
Copy link

kyogendra08 commented May 1, 2024

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Continuos Destroy and then Create of azapi_resource diag_settings

The module successfully deploys the Cloud Adoption Framework. However, when doing a plan with no changes to the parameters in the module, we are getting 10 add and 10 destroy of the resource "azapi_resources" "diag_settings".


module.enterprise_scale.azapi_resource.diag_settings["/providers/Microsoft.Management/managementGroups/testtenant-sandboxes"] must be replaced
-/+ resource "azapi_resource" "diag_settings" {
~ id = "/providers/Microsoft.Management/managementGroups/testtenant-sandboxes/providers/Microsoft.Insights/diagnosticSettings/toLA" -> (known after apply)
- location = "global" -> null # forces replacement
name = "toLA"
~ output = jsonencode({}) -> (known after apply)
# (7 unchanged attributes hidden)
}

Plan: 10 to add, 0 to change, 10 to destroy.


Help regarding resolution of this issue will be much appreciated.

@kyogendra08 kyogendra08 changed the title Bug Report : Continuos Destroy and then Create of azapi_resource diag_settings Bug Report : Continuous Destroy and then Create of azapi_resource diag_settings May 1, 2024
@matt-FFFFFF matt-FFFFFF linked a pull request Jun 7, 2024 that will close this issue
5 tasks
@matt-FFFFFF matt-FFFFFF linked a pull request Jun 7, 2024 that will close this issue
5 tasks
@matt-FFFFFF
Copy link
Member

fixed by #968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants