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

importing... #188

Open
jmvanryn opened this issue Mar 20, 2024 · 1 comment
Open

importing... #188

jmvanryn opened this issue Mar 20, 2024 · 1 comment

Comments

@jmvanryn
Copy link

So I already have a working bitbucket, I'm attempting to import..

currently when I try terraform import bitbucket_deployment.infra-aiservices-eng {d665ca98-5924-41a7-8b58-c1f35d85ae82}/{70084221-4725-4747-84bd-df68f8850c34} (numbers changed)

but I get

│ Error: unexpected format of ID ("{d665ca98-5924-41a7-8b58-c1f35d85ae82}/{70084221-4725-4747-84bd-df68f8850c34}"), expected REPO-ID:DEPLOYMENT-UUID



could anyone provide information on where / how to find the uuid's that are required and also validate if the deployment import works?

@mnhat3896
Copy link

got the same issue and here is the way I found it,
go to the deployment tab, inspect the page (F12), go to tab network and search variable
Screenshot_17

Or for scripting, you can try to call API: https://community.atlassian.com/t5/Bitbucket-questions/Re-How-to-get-variable-uuid/qaq-p/1497701/comment-id/58475#M58475

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

No branches or pull requests

2 participants