spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
74 stars 28 forks source link

Add resource for bitbucket datacenter integration handling #491

Closed mplushnikov closed 8 months ago

mplushnikov commented 8 months ago

Description of the change

Add resource for bitbucket datacenter integration handling, added username to data bitbucket_datacenter_integration

Type of change

Related issues

Checklists

Development

Code review

marcinwyszynski commented 8 months ago

Adding @jmfontaine as the final decision maker.

peterdeme commented 8 months ago

@mplushnikov thank you for the contribution, we'll merge it 🙏

one thing though is that the GitHub Action job contains secrets, and GitHub won't allow running that job when the source branch is a fork. I'll open a separate PR where I copy your code and merge that, if that's okay for you.

mplushnikov commented 8 months ago

@peterdeme Sure, feel free to do anything you need!

peterdeme commented 8 months ago

Continuation in https://github.com/spacelift-io/terraform-provider-spacelift/pull/498 Thanks again @mplushnikov

peterdeme commented 8 months ago

hey @mplushnikov, a little update from our side. so my other pull request that I opened for this one fails currently.

this is because we can only have 1 Bitbucket DC at a time, so the unit test cannot create another one. believe it or not, this is exactly the feature that we're working on now: to be able to have multiple VCS integrations per account. it'll be released in February. when that comes, we'll slightly refactor the PR and the test will succeed.

Sorry for the inconvenience, we'll merge that PR as soon as the feature is released. 🙏 🙏