-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Bitbucket source broken #21938
Comments
Hi @mackoftrack - thanks for the report - it does look on first glance like it's tripping over that deprecation. We'll dig into this and follow up. |
I believe this has been fixed upstream in go-getter (hashicorp/go-getter#189), but a release of that library has not been cut yet. |
Suggestions for a workaround? It seems that when I switch to the generic git syntax it does in fact clone the module into .terraform/ but terraform is still throwing an error, preventing me from plan and apply |
Sorry to bump this, but I'm just wondering what I can do to work around this until the next release happens. |
Hi @mackoftrack - we expect to be cutting a release in the next week or so, but in the meantime you're welcome to build from the master branch by following these instructions. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
All of a sudden today my modules that live in Bitbucket repos broke. I'm 99.9% sure that it's due to the removal of their 1.0 apis: https://developer.atlassian.com/cloud/bitbucket/deprecation-notice-v1-apis/
https://api.bitbucket.org/1.0/repositories/ returns:
Terraform is trying to hit that API here:
terraform/vendor/github.com/hashicorp/go-getter/detect_bitbucket.go
Line 38 in 805ae28
This is a major problem as I can't apply anything. I've tried switching to the generic git source syntax and that does not work either.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Module gets initialized per https://www.terraform.io/docs/modules/sources.html#bitbucket
Actual Behavior
Module initialization fails.
Steps to Reproduce
terraform init
Additional Context
Today is the first time I've hit this issue however. This should be an easy fix, as the 2.0 API repository API is unchanged from what I can tell. So the endpoint just needs to be updated. I'd file a PR, but I'm at work and don't really have time at the moment.
References
The text was updated successfully, but these errors were encountered: