You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when we do terraform apply we are receiving below error
**Error: Provider produced inconsistent final plan
When expanding the plan for
module.send_grid_api_connection_ais.azapi_resource.api_connecton_sengrid to
include new values learned so far during apply, provider
"registry.terraform.io/azure/azapi" produced an invalid new value for
.removing_special_chars: was cty.False, but now null._
This is a bug in the provider, which should be reported in the provider's own
issue tracker.**
The text was updated successfully, but these errors were encountered:
Thank you for taking time to report this issue and apologize for the trouble!
Would you please try to run terraform plan command again and see if there's any changes or errors? And would you please also share the terraform version you're using? Thanks
we are using below module to create api connection for sendgrid
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
required_version = ">= 0.14"
}
resource "azapi_resource" "api_connecton_sengrid" {
type = "Microsoft.Web/connections@2018-07-01-preview"
name = "${var.project_name}-sendgrid"
location = var.location
parent_id = var.parent_id
schema_validation_enabled = false
tags = {
project_name = var.project_name
}
body = jsonencode({
properties = {
api = {
displayName = "SendGrid",
id = "/subscriptions/${var.subscription_id}/providers/Microsoft.Web/locations/${var.location}/managedApis/sendgrid"
}
displayName = "SendGrid",
parameterValues = {
apiKey = "${var.sendgridApiKey}"
},
}
})
}
above module is refered in while creating api connection as below
module "send_grid_api_connection_ais" {
source = "../modules/api_connection/sendGrid"
project_name = "ais"
location = var.location
parent_id = azurerm_resource_group.services.id
subscription_id = var.subscription_id
sendgridApiKey = data.azurerm_key_vault_secret.sendgrid_apikey.value
}
when we do terraform apply we are receiving below error
**Error: Provider produced inconsistent final plan
When expanding the plan for
module.send_grid_api_connection_ais.azapi_resource.api_connecton_sengrid to
include new values learned so far during apply, provider
"registry.terraform.io/azure/azapi" produced an invalid new value for
.removing_special_chars: was cty.False, but now null._
This is a bug in the provider, which should be reported in the provider's own
issue tracker.**
The text was updated successfully, but these errors were encountered: