DrFaust92 / terraform-provider-bitbucket

Terraform Bitbucket Cloud provider.
https://registry.terraform.io/providers/drfaust92/bitbucket
Mozilla Public License 2.0
38 stars 30 forks source link

Current user getting 403 #59

Closed ebertti closed 2 years ago

ebertti commented 2 years ago

Hi there,

I am getting a error trying do get information from current user that is running the terraform.

Terraform Version

Terraform v1.1.2 on darwin_amd64

Your version of Terraform is out of date! The latest version is 1.1.8. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)

data bitbucket_current_user

Terraform Configuration Files

data "bitbucket_workspace" "xxxxx" {
  workspace = "xxxxx"
}

data "bitbucket_current_user" "user" {

}

Debug Output

│ Error: error reading current user: 403 Forbidden │ │ with data.bitbucket_current_user.user, │ on workspace.tf line 5, in data "bitbucket_current_user" "user": │ 5: data "bitbucket_current_user" "user" {

DrFaust92 commented 2 years ago

Seems to be a permissions issue so im unsure how this is a bug in the provider.

DrFaust92 commented 2 years ago

Closing for lack of response, if issue persists please re-open with more details.