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

azurerm_app_configuration_key - Error: Provider produced inconsistent result after apply #21939

Closed
1 task done
runecalico opened this issue May 25, 2023 · 1 comment · Fixed by #21750
Closed
1 task done

Comments

@runecalico
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

Terraform Version

1.2.1

AzureRM Provider Version

3.56.0

Affected Resource(s)/Data Source(s)

azurerm_app_configuration_key

Terraform Configuration Files

provider "azurerm" {
  alias = "data_plane"
  features {}
  client_id                  = var.AZURERM_DATA_RW_CLIENT_ID
  client_secret              = var.AZURERM_DATA_RW_CLIENT_SECRET
  tenant_id                  = var.AZURERM_DATA_TENANT_ID
  subscription_id            = var.AZURERM_DATA_SUBSCRIPTION_ID
  skip_provider_registration = true
}
variable "AZURERM_DATA_RW_CLIENT_ID" {
  sensitive   = true
}
variable "AZURERM_DATA_RW_CLIENT_SECRET" {
  sensitive   = true
}
variable "AZURERM_DATA_TENANT_ID" {
  sensitive   = true
}
variable "AZURERM_DATA_SUBSCRIPTION_ID" {
  sensitive   = true
}
locals {
  pipeline_update_app_config_key_name         = "keyvault.access.policy.update.complete"
  pipeline_update_app_config_key_value        = timestamp()
  pipeline_update_app_configuration_key = {
    "service:aaabbb000" = {
      configuration_store_id = module.lookups.azure_app_configuration_information.app_configuration_resource_id
      label                  = "aaaa-000"
      key                    = local.pipeline_update_app_config_key_name
      value                  = local.pipeline_update_app_config_key_value
    }
  }
}
resource "azurerm_app_configuration_key" "pipeline_update_app_configuration_key" {
  provider = azurerm.data_plane
  for_each = local.pipeline_update_app_configuration_key

  configuration_store_id = each.value.configuration_store_id
  label                  = each.value.label
  key                    = each.value.key
  value                  = each.value.value
  lifecycle {
    ignore_changes = [
      value
    ]
  }
}

Debug Output/Panic Output

2023-05-13T07:36:22.7930667Z 2023-05-13T07:36:21.664Z [WARN]  Provider "registry.terraform.io/hashicorp/azurerm" produced an invalid plan for azurerm_app_configuration_key.pipeline_update_app_configuration_key["service:aaabbb000"], but we are tolerating it because it is using the legacy plugin SDK.
2023-05-13T07:36:22.7935535Z     The following problems may be the cause of any confusing errors from downstream operations:
2023-05-13T07:36:22.7938449Z       - .type: planned value cty.StringVal("kv") for a non-computed attribute
2023-05-13T07:36:22.7941024Z       - .locked: planned value cty.False for a non-computed attribute
2023-05-13T07:36:22.7944259Z 2023-05-13T07:36:21.664Z [INFO]  Starting apply for azurerm_app_configuration_key.pipeline_update_app_configuration_key["service:aaabbb000"]
2023-05-13T07:36:22.7947572Z 2023-05-13T07:36:21.668Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Request: 
2023-05-13T07:36:22.7951846Z GET /subscriptions/***/resourceGroups/my-rg-name/providers/Microsoft.AppConfiguration/configurationStores/my-appcs-name?api-version=2023-03-01 HTTP/1.1
2023-05-13T07:36:22.7954695Z Host: management.azure.com
2023-05-13T07:36:22.7959302Z User-Agent: HashiCorp/go-azure-sdk (Go-http-Client/1.1 configurationstores/2023-03-01) HashiCorp Terraform/1.2.1 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2023-05-13T07:36:22.7962514Z Content-Type: application/json
2023-05-13T07:36:22.7964656Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.7967063Z Accept-Encoding: gzip: timestamp=2023-05-13T07:36:21.668Z
2023-05-13T07:36:22.7972073Z 2023-05-13T07:36:21.669Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: GET https://management.azure.com/subscriptions/***/resourceGroups/my-rg-name/providers/Microsoft.AppConfiguration/configurationStores/my-appcs-name?api-version=2023-03-01: timestamp=2023-05-13T07:36:21.669Z
2023-05-13T07:36:22.7977901Z 2023-05-13T07:36:21.918Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Response for https://management.azure.com/subscriptions/***/resourceGroups/my-rg-name/providers/Microsoft.AppConfiguration/configurationStores/my-appcs-name?api-version=2023-03-01: 
2023-05-13T07:36:22.7981335Z HTTP/2.0 200 OK
2023-05-13T07:36:22.7983125Z Cache-Control: no-cache
2023-05-13T07:36:22.7985099Z Content-Type: application/json; charset=utf-8
2023-05-13T07:36:22.7987084Z Date: Sat, 13 May 2023 07:36:21 GMT
2023-05-13T07:36:22.7989074Z Etag: "2000bc5d-0000-0200-0000-62f12b3e0000"
2023-05-13T07:36:22.7991001Z Expires: -1
2023-05-13T07:36:22.7992908Z Pragma: no-cache
2023-05-13T07:36:22.7994908Z Strict-Transport-Security: max-age=31536000; includeSubDomains
2023-05-13T07:36:22.7997081Z Vary: Accept-Encoding
2023-05-13T07:36:22.7998928Z X-Content-Type-Options: nosniff
2023-05-13T07:36:22.8001067Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8003446Z X-Ms-Ratelimit-Remaining-Subscription-Reads: 11999
2023-05-13T07:36:22.8006048Z X-Ms-Request-Id: c587c073-5403-4b87-9028-63cca1c60c2c
2023-05-13T07:36:22.8008707Z X-Ms-Routing-Request-Id: CENTRALUS:20230513T073621Z:e4dfebb7-bd22-4329-9ace-f9461db2b07a
2023-05-13T07:36:22.8010283Z 
2023-05-13T07:36:22.8019669Z {"type":"Microsoft.AppConfiguration/configurationStores","location":"eastus2","identity":{"type":"SystemAssigned","principalId":"773fc530-189c-4ac9-8e60-9c52f17efac0","tenantId":"***"},"properties":{"provisioningState":"Succeeded","creationDate":"2021-05-12T22:31:55+00:00","endpoint":"https://my-appcs-name.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null,"disableLocalAuth":false,"softDeleteRetentionInDays":7,"enablePurgeProtection":false},"sku":{"name":"standard"},"systemData":{"createdBy":"***","createdByType":"Application","createdAt":"2021-05-12T22:31:55+00:00","lastModifiedBy":"***","lastModifiedByType":"Application","lastModifiedAt":"2022-08-08T15:26:54+00:00"},"id":"/subscriptions/***/resourceGroups/my-rg-name/providers/Microsoft.AppConfiguration/configurationStores/my-appcs-name","name":"my-appcs-name","tags":{"Budget_category":"my-budget","Cost_Center_ID":"00000000000","Customer":"Internal","Environment_Type":"Prod","Product_Group":"my-product-group","Product_Type":"Azure App Configuration","Team":"my-team"}}: timestamp=2023-05-13T07:36:21.918Z
2023-05-13T07:36:22.8040633Z 2023-05-13T07:36:21.919Z [INFO]  provider.terraform-provider-azurerm_v3.56.0_x5: [DEBUG] Waiting for App Configuration Key "keyvault.access.policy.update.complete" read permission to be done propagated: timestamp=2023-05-13T07:36:21.919Z
2023-05-13T07:36:22.8045152Z 2023-05-13T07:36:21.920Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: Waiting for state to become: [Error Exists]: timestamp=2023-05-13T07:36:21.920Z
2023-05-13T07:36:22.8049349Z 2023-05-13T07:36:21.921Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: POST https://login.microsoftonline.com/***/oauth2/v2.0/token: timestamp=2023-05-13T07:36:21.920Z
2023-05-13T07:36:22.8052824Z 2023-05-13T07:36:22.003Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Request: 
2023-05-13T07:36:22.8056114Z GET /kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000 HTTP/1.1
2023-05-13T07:36:22.8058844Z Host: my-appcs-name.azconfig.io
2023-05-13T07:36:22.8062445Z User-Agent: Go/go1.19.3 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230424.1090808 appconfiguration/1.0 HashiCorp Terraform/1.2.1 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2023-05-13T07:36:22.8066290Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8068698Z Accept-Encoding: gzip: timestamp=2023-05-13T07:36:22.002Z
2023-05-13T07:36:22.8072763Z 2023-05-13T07:36:22.110Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Response for https://my-appcs-name.azconfig.io/kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000: 
2023-05-13T07:36:22.8076111Z HTTP/2.0 404 Not Found
2023-05-13T07:36:22.8078007Z Access-Control-Allow-Credentials: true
2023-05-13T07:36:22.8079990Z Access-Control-Allow-Origin: *
2023-05-13T07:36:22.8085557Z Access-Control-Expose-Headers: DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate, Operation-Location, Retry-After
2023-05-13T07:36:22.8090675Z Date: Sat, 13 May 2023 07:36:22 GMT
2023-05-13T07:36:22.8092536Z Server: openresty/1.21.4.1
2023-05-13T07:36:22.8094586Z Strict-Transport-Security: max-age=15724800; includeSubDomains
2023-05-13T07:36:22.8097130Z Sync-Token: my-sync-token
2023-05-13T07:36:22.8099510Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8101905Z X-Ms-Request-Id: 9429263c-be87-4a5c-b04d-9dda5b8c2a59
2023-05-13T07:36:22.8104142Z Content-Length: 0: timestamp=2023-05-13T07:36:22.109Z
2023-05-13T07:36:22.8106801Z 2023-05-13T07:36:22.110Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Request: 
2023-05-13T07:36:22.8110093Z GET /kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000 HTTP/1.1
2023-05-13T07:36:22.8113355Z Host: my-appcs-name.azconfig.io
2023-05-13T07:36:22.8120135Z User-Agent: Go/go1.19.3 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230424.1090808 appconfiguration/1.0 HashiCorp Terraform/1.2.1 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2023-05-13T07:36:22.8124203Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8126583Z Accept-Encoding: gzip: timestamp=2023-05-13T07:36:22.110Z
2023-05-13T07:36:22.8130470Z 2023-05-13T07:36:22.144Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Response for https://my-appcs-name.azconfig.io/kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000: 
2023-05-13T07:36:22.8133758Z HTTP/2.0 404 Not Found
2023-05-13T07:36:22.8135645Z Access-Control-Allow-Credentials: true
2023-05-13T07:36:22.8138354Z Access-Control-Allow-Origin: *
2023-05-13T07:36:22.8144040Z Access-Control-Expose-Headers: DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate, Operation-Location, Retry-After
2023-05-13T07:36:22.8148955Z Date: Sat, 13 May 2023 07:36:22 GMT
2023-05-13T07:36:22.8150775Z Server: openresty/1.21.4.1
2023-05-13T07:36:22.8153050Z Strict-Transport-Security: max-age=15724800; includeSubDomains
2023-05-13T07:36:22.8155403Z Sync-Token: my-sync-token
2023-05-13T07:36:22.8157775Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8160187Z X-Ms-Request-Id: 0ee50ee4-7bf7-4350-8c3a-48fae4117796
2023-05-13T07:36:22.8162681Z Content-Length: 0: timestamp=2023-05-13T07:36:22.144Z
2023-05-13T07:36:22.8165342Z 2023-05-13T07:36:22.144Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Request: 
2023-05-13T07:36:22.8168672Z PUT /kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000 HTTP/1.1
2023-05-13T07:36:22.8171436Z Host: my-appcs-name.azconfig.io
2023-05-13T07:36:22.8175050Z User-Agent: Go/go1.19.3 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230424.1090808 appconfiguration/1.0 HashiCorp Terraform/1.2.1 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2023-05-13T07:36:22.8178312Z Content-Length: 153
2023-05-13T07:36:22.8180210Z Content-Type: application/json; charset=utf-8
2023-05-13T07:36:22.8182486Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8184679Z Accept-Encoding: gzip
2023-05-13T07:36:22.8185623Z 
2023-05-13T07:36:22.8187824Z {"content_type":"","key":"keyvault.access.policy.update.complete","label":"aaaa-000","tags":{},"value":"2023-05-13T07:36:13Z"}: timestamp=2023-05-13T07:36:22.144Z
2023-05-13T07:36:22.8192685Z 2023-05-13T07:36:22.184Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Response for https://my-appcs-name.azconfig.io/kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000: 
2023-05-13T07:36:22.8196232Z HTTP/2.0 200 OK
2023-05-13T07:36:22.8197947Z Connection: close
2023-05-13T07:36:22.8199876Z Access-Control-Allow-Credentials: true
2023-05-13T07:36:22.8201893Z Access-Control-Allow-Origin: *
2023-05-13T07:36:22.8207509Z Access-Control-Expose-Headers: DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate, Operation-Location, Retry-After
2023-05-13T07:36:22.8213136Z Content-Type: application/vnd.microsoft.appconfig.kv+json; charset=utf-8
2023-05-13T07:36:22.8215555Z Date: Sat, 13 May 2023 07:36:22 GMT
2023-05-13T07:36:22.8217594Z Etag: "hDUh946-LTi2E3ajFPyOC1e4Y7cuDq_kD-RzFUutYZ8"
2023-05-13T07:36:22.8219752Z Last-Modified: Sat, 13 May 2023 07:36:22 GMT
2023-05-13T07:36:22.8221693Z Server: openresty/1.21.4.1
2023-05-13T07:36:22.8223720Z Strict-Transport-Security: max-age=15724800; includeSubDomains
2023-05-13T07:36:22.8226032Z Sync-Token: my-sync-token
2023-05-13T07:36:22.8228405Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8230800Z X-Ms-Request-Id: ee4c4537-3097-4cc9-9c06-79b0fd945fc1
2023-05-13T07:36:22.8232168Z 
2023-05-13T07:36:22.8235114Z {"etag":"hDUh946-LTi2E3ajFPyOC1e4Y7cuDq_kD-RzFUutYZ8","key":"keyvault.access.policy.update.complete","label":"aaaa-000","content_type":"","value":"2023-05-13T07:36:13Z","tags":{},"locked":false,"last_modified":"2023-05-13T07:36:22+00:00"}: timestamp=2023-05-13T07:36:22.184Z
2023-05-13T07:36:22.8241092Z 2023-05-13T07:36:22.184Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: POST https://login.microsoftonline.com/***/oauth2/v2.0/token: timestamp=2023-05-13T07:36:22.184Z
2023-05-13T07:36:22.8244714Z 2023-05-13T07:36:22.238Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Request: 
2023-05-13T07:36:22.8248037Z GET /kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000 HTTP/1.1
2023-05-13T07:36:22.8250768Z Host: my-appcs-name.azconfig.io
2023-05-13T07:36:22.8254421Z User-Agent: Go/go1.19.3 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230424.1090808 appconfiguration/1.0 HashiCorp Terraform/1.2.1 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2023-05-13T07:36:22.8258190Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8260639Z Accept-Encoding: gzip: timestamp=2023-05-13T07:36:22.238Z
2023-05-13T07:36:22.8264499Z 2023-05-13T07:36:22.325Z [DEBUG] provider.terraform-provider-azurerm_v3.56.0_x5: AzureRM Response for https://my-appcs-name.azconfig.io/kv/keyvault.access.policy.update.complete?api-version=1.0&label=aaaa-000: 
2023-05-13T07:36:22.8267778Z HTTP/2.0 404 Not Found
2023-05-13T07:36:22.8269664Z Access-Control-Allow-Credentials: true
2023-05-13T07:36:22.8271828Z Access-Control-Allow-Origin: *
2023-05-13T07:36:22.8278539Z Access-Control-Expose-Headers: DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate, Operation-Location, Retry-After
2023-05-13T07:36:22.8283593Z Date: Sat, 13 May 2023 07:36:22 GMT
2023-05-13T07:36:22.8285704Z Server: openresty/1.21.4.1
2023-05-13T07:36:22.8288192Z Strict-Transport-Security: max-age=15724800; includeSubDomains
2023-05-13T07:36:22.8290840Z Sync-Token: my-sync-token
2023-05-13T07:36:22.8293228Z X-Ms-Correlation-Request-Id: 79482ff0-aa1a-8be3-e0e1-8e9158d88250
2023-05-13T07:36:22.8295648Z X-Ms-Request-Id: 43e09eb2-33c7-4cf7-9fa7-edb9fbc6efc2
2023-05-13T07:36:22.8297907Z Content-Length: 0: timestamp=2023-05-13T07:36:22.325Z
2023-05-13T07:36:22.8302309Z 2023-05-13T07:36:22.326Z [INFO]  provider.terraform-provider-azurerm_v3.56.0_x5: [DEBUG] AppConfiguration Nested Item Configuration Store Endpoint "https://my-appcs-name.azconfig.io" / Key "keyvault.access.policy.update.complete" / Label "aaaa-000" was not found - removing from state: timestamp=2023-05-13T07:36:22.326Z
2023-05-13T07:36:22.8307646Z 2023-05-13T07:36:22.327Z [ERROR] vertex "azurerm_app_configuration_key.pipeline_update_app_configuration_key[\"service:aaabbb000\"]" error: Provider produced inconsistent result after apply
2023-05-13T07:36:22.8311484Z azurerm_app_configuration_key.pipeline_update_app_configuration_key["service:aaabbb000"]: Creating...
2023-05-13T07:36:45.9474118Z 
2023-05-13T07:36:45.9475078Z Error: Provider produced inconsistent result after apply
2023-05-13T07:36:45.9476321Z 
2023-05-13T07:36:45.9477131Z When applying changes to
2023-05-13T07:36:45.9479387Z azurerm_app_configuration_key.pipeline_update_app_configuration_key["service:aaabbb000"],
2023-05-13T07:36:45.9482057Z provider "provider[\"registry.terraform.io/hashicorp/azurerm\"].data_plane"
2023-05-13T07:36:45.9484581Z produced an unexpected new value: Root resource was present, but now absent.
2023-05-13T07:36:45.9486034Z 
2023-05-13T07:36:45.9487310Z This is a bug in the provider, which should be reported in the provider's own
2023-05-13T07:36:45.9489507Z issue tracker.
2023-05-13T07:36:45.9492262Z 2023-05-13T07:36:45.787Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2023-05-13T07:36:45.9496657Z 2023-05-13T07:36:45.788Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/3.56.0/linux_amd64/terraform-provider-azurerm_v3.56.0_x5 pid=4347
2023-05-13T07:36:45.9499735Z 2023-05-13T07:36:45.788Z [DEBUG] provider: plugin exited
2023-05-13T07:36:49.2848159Z time=2023-05-13T07:36:49Z level=error msg=1 error occurred:
2023-05-13T07:36:49.2850949Z 	* exit status 1
2023-05-13T07:36:49.2852388Z 
2023-05-13T07:36:49.2852421Z 
2023-05-13T07:36:49.2878040Z ##[error]Process completed with exit code 1.

Expected Behaviour

I would expect the Azure App Configuration key to be created AND recorded in the Terraform State

Actual Behaviour

It created it, but failed to record this in the Terraform State.
A Subsequent Apply results in this error:
Error: A resource with the ID "https://my-appcs-config.azconfig.io/kv/keyvault.access.policy.update.complete?label=aaaa-000" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_app_configuration_key" for more information.

Steps to Reproduce

No response

Important Factoids

No response

References

No response

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants