After a change to the owner or name field of a bitbucket_repository resource, two things need to change:
Any subsequent Bitbucket API requests within the current Terraform run should use the new owner and name. This avoids a 404 error.
The internal resource ID tracked in Terraform state needs to reflect the new owner/name. This ensures that subsequent Terraform runs will work correctly.
Fixes #96
After a change to the
owner
orname
field of abitbucket_repository
resource, two things need to change: