Once I run terraform Apply and try to run terraform Plan, it always detects a configuration Drift. I am getting the following error. this is happening all the time only I apply Plan after the apply. Any suggestions would be appreciated.
`Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan`
`Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan:
# module.this.azurerm_storage_account.this has changed
~ resource "azurerm_storage_account" "this" {
id = "/subscriptions/d4gbaaf88-4yyX2-4tg3-9611-XXXXXXXXXXXXX/resourceGroups/rg-ifhq/providers/Microsoft.Storage/storageAccounts/stieiq"
name = "stiggiq"
tags = {
"dept" = "IT"
"env" = "Prod"
"owner" = "Smith"
}
# (39 unchanged attributes hidden)
~ network_rules {
~ default_action = "Allow" -> "Deny"
~ ip_rules = [
+ "125.125.125.1",
]
~ virtual_network_subnet_ids = [
+ "/subscriptions/d4gbaaf88-4yyX2-4tg3-9611-XXXXXXXXXXXXX/resourceGroups/rg-ifhq/providers/Microsoft.Network/virtualNetworks/vnet-rfeiq/subnets/snet-gerq",
]
# (1 unchanged attribute hidden)
}
# (4 unchanged blocks hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes.`
variable "network_rules" {
type = object({
bypass = optional(set(string), [])
default_action = optional(string, "Deny")
ip_rules = optional(set(string), [])
virtual_network_subnet_ids = optional(set(string), [])
private_link_access = optional(list(object({
endpoint_resource_id = string
endpoint_tenant_id = optional(string)
})))
timeouts = optional(object({
create = optional(string)
delete = optional(string)
read = optional(string)
update = optional(string)
}))
})
default = {}