DrFaust92 / terraform-provider-bitbucket

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

panic: runtime error: invalid memory address or nil pointer dereference #211

Open frodrigues404 opened 2 weeks ago

frodrigues404 commented 2 weeks ago

Terraform Version

Terraform v1.8.3

Affected Resource(s)

Please list the resources as a list, for example:

Terraform Configuration Files

terraform {
  required_providers {
    bitbucket = {
      source  = "DrFaust92/bitbucket"
      version = "2.42.0"
    }  
  }
}

provider "bitbucket" {
  oauth_client_id       = Key
  oauth_client_secret = Secret
}

resource "bitbucket_repository" "infrastructure" {
  owner = "username1"
  name  = "terraform-code"
}

Debug Output

https://gist.github.com/frodrigues404/723faac209bca302d65cd6b3b20a8dcc

Expected Behavior

Create repository

Actual Behavior

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xca4313]

Steps to Reproduce

  1. terraform init
  2. terraform apply

Important Factoids

Tried to run in different machines, with Linux and Windows, had the same issue. Also tried different versions.