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

Error when creating pipeline: Invalid address to set #26

Open
gough opened this issue May 7, 2019 · 1 comment
Open

Error when creating pipeline: Invalid address to set #26

gough opened this issue May 7, 2019 · 1 comment

Comments

@gough
Copy link

gough commented May 7, 2019

Versions

go version go1.12.1 darwin/amd64
Terraform v0.11.13

Issue

When attempting to create a pipeline with the following code:

provider "buildkite" {
  api_token = "${var.buildkite_token}"
  organization = "${var.buildkite_organization}"
}

resource "buildkite_pipeline" "pipeline" {
  name = "${var.pipeline_name}"
  repository = "${var.pipeline_repo_url}"

  step = "${var.pipeline_steps}"
}

I receive the following error:

Error: Error refreshing state: 1 error(s) occurred:

* buildkite_pipeline.pipeline: 1 error(s) occurred:

2019-05-07T09:42:09.343-0700 [DEBUG] plugin.terraform-provider-buildkite: 2019/05/07 09:42:09 [ERR] plugin: plugin server: accept unix /var/folders/md/0x2d3mgs7d93v0cj_p_5_hf0jm3m9m/T/plugin838100482: use of closed network connection
* buildkite_pipeline.pipeline: buildkite_pipeline.pipeline: Invalid address to set: []string{"github_settings", "0", "separate_pull_request_statuses"}

2019-05-07T09:42:09.344-0700 [DEBUG] plugin.terraform-provider-buildkite: 2019/05/07 09:42:09 [ERR] plugin: stream copy 'stderr' error: stream closed

Any idea what can be done to fix this?

@juliangrosshauser
Copy link

The changes in #24 are fixing this issue.

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

2 participants