terraform-provider-bitbucket
terraform-provider-bitbucket copied to clipboard
Error: unable to create group with error: response status code was not 200
Group creation provider is broken:
- Plan : Seems ok at first
base) welcome@Traianos-MacBook-Pro bitbucket-iac % terraform plan -out terraform.plan
bitbucket_project.example: Refreshing state... [id={e22a7ac4-0ea1-4fd6-9e51-be7f399f1b49}]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# bitbucket_group.orion will be created
+ resource "bitbucket_group" "orion" {
+ id = (known after apply)
+ name = "orion"
+ permission = "write"
+ slug = (known after apply)
+ workspace = "{engeneon}"
}
Plan: 1 to add, 0 to change, 0 to destroy.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Saved the plan to: terraform.plan
To perform exactly these actions, run the following command to apply:
terraform apply "terraform.plan"
.
- Apply: Errors with an unclear error message
(base) welcome@Traianos-MacBook-Pro bitbucket-iac % terraform apply terraform.plan
bitbucket_group.orion: Creating...
╷
│ Error: unable to create group with error: response status code was not 200
│
│ with bitbucket_group.orion,
│ on main.tf line 13, in resource "bitbucket_group" "orion":
│ 13: resource "bitbucket_group" "orion" {
│
╵