Open Iamrahul11 opened 1 year ago
Every time terragrunt refresh state files (e.g. pulls changes from IBM Cloud API and update state files accordingly). It gets:
# ibm_iam_user_invite.users[0] has been deleted
- resource "ibm_iam_user_invite" "users" {
So, it deletes the state file and recreate next run.
Community Note
Question
We have a resource named ibm_iam_user_invite, and it consistently requires recreation every time we make any new changes. This particular code in Terraform is consistently recreated whenever we perform any Terraform actions. Upon inspecting the list of users present in both the Terraform state and IBM Cloud IAM, it's evident that these users already exist. However, it remains unclear why this resource consistently prompts for recreation. Please help..and let me know what is needed form our side to look into this issue.
New or Affected Resource(s) or Datasource(s)
Potential Terraform Configuration