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
a. Check terraform state and see that key is not imported
b. Run terrafrom plan and see that bitbucket_deploy_key must be replaced because keyforces replacement. Expected behavior is that there are no changes because we did not change the key in the resource block.
The text was updated successfully, but these errors were encountered:
Terraform Version
Affected Resource(s)
Expected Behavior
bitbucket_deploy_key
importskey
Actual Behavior
bitbucket_deploy_key
does not importkey
Steps to Reproduce
terraform apply
terraform state rm bitbucket_deploy_key.foo
Get the key id
curl "$bitbucket_url/repositories/$bitbucket_workspace/$terraform_repo/deploy-keys"
terraform import $bitbucket_workspace/$terraform_repo/$key_id
Check issue
a. Check terraform state and see that key is not imported
b. Run
terrafrom plan
and see thatbitbucket_deploy_key
must be replaced becausekey
forces replacement
. Expected behavior is that there are no changes because we did not change the key in the resource block.The text was updated successfully, but these errors were encountered: