Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frodrigues404 opened this issue Jun 14, 2024 · 0 comments

Comments

@frodrigues404
Copy link

frodrigues404 commented Jun 14, 2024

Terraform Version

Terraform v1.8.3

Affected Resource(s)

Please list the resources as a list, for example:

  • bitbucket_repository

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant