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

Renaming bitbucket_repository fails with 404 (not found) error #206

Conversation

barrywhart
Copy link

@barrywhart barrywhart commented May 15, 2024

Fixes #96

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.

Copy link
Owner

@DrFaust92 DrFaust92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DrFaust92 DrFaust92 merged commit fac6dcc into DrFaust92:master May 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with renaming Bitbucket_repository
2 participants