hashicorp / terraform-provider-bitbucket

This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://registry.terraform.io
Mozilla Public License 2.0
32 stars 105 forks source link

Add bitbucket_branch_restriction resource #22

Closed amatellanes closed 4 years ago

amatellanes commented 6 years ago

This PR adds a bitbucket_branch_restriction resource for setting up branch restrictions for your repository:

# Manage your repositories branch restrictions
resource "bitbucket_branch_restriction" "master" {
  owner      = "myteam"
  repository = "terraform-code"

  kind = "push"
  pattern = "master"
}

References:

stefanthorpe commented 5 years ago

@radeksimko @cwood @grubernaut Just wondering who needs to review this PR?

cwood commented 5 years ago

Sorry. I just saw this. This seems fine to me.

tongpu commented 5 years ago

It would be awesome if we could get this merged. It's the missing piece that would allow us to manage all repository permission in Terraform!

amatellanes commented 5 years ago

@cwood I've just resolved conflicts. Any news about merging these changes?

cwood commented 5 years ago

I actually plan on working on this provider this week since I can use my 20% time to take over this. Ill take a look at it today/tomorrow. :) Thanks for the contribution.

httpoz commented 5 years ago

Hey @cwood did you get a chance to take a look? :)

iridian-ks commented 4 years ago

@cwood was wondering when this could get merged in?

tdi commented 4 years ago

@amatellanes can you find time to resolve the new conflicts ?

amatellanes commented 4 years ago

Done ✔️ @tdi

amatellanes commented 4 years ago

Thanks for merging my changes @cwood

Any chance to update documentation here to show new resources added?

cwood commented 4 years ago

Im currently doing that now.

cwood commented 4 years ago

I have wrote and published this into terraform. Thanks for your support! https://www.terraform.io/docs/providers/bitbucket/index.html