Closed itspngu closed 1 year ago
@itspngu I will try to replicate your issue
@itspngu I was able to duplicate issue both resources will fix in engineering ticket INTMDB-581
just as an update @itspngu this issue has been picked up for v1.8.2 release which should be published in the next month or two.
hi @itspngu v1.8.2 has been released! closing this issue, but feel free to re-open if you need anything else here: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
terraform init
terraform plan
terraform apply
terraform plan
Expected Behavior
Terraform should create a new API key because the API key it created previously is no longer present.
Actual Behavior
Terraform fails completing the
plan
stage, forcing you to manually remove the resource from tfstate before planning again:This also applies to any instance of
mongodbatlas_access_list_api_key
referencing the missing key.Debug Output
Crash Output
Additional Context
References