buildkite / terraform-provider-buildkite

Terraform provider for Buildkite
https://registry.terraform.io/providers/buildkite/buildkite/latest
MIT License
57 stars 34 forks source link

No waring/Error for duplicate pipeline name in terraform plan #564

Open jiaquan1 opened 9 hours ago

jiaquan1 commented 9 hours ago

Describe the bug when we add a new pipeline, if there is already a ppl with the same name, terraform plan won’t show any warning/error message that the name is taken . It will just fail when terraform apply.

To Reproduce Steps to reproduce the behavior:

  1. Create a new pipeline with terraform module and deploy it;
  2. Create a new pipeline with the same name above, and check the terraform plan, everything looks right;
  3. terraform apply it, see the error

Expected behavior A warning or error message in the terraform plan if the pipeline name is already taken.

tomowatt commented 9 hours ago

Hey @jiaquan1

Thanks for raising this, we will look to see what is possible to be able to detect name conflicts of Pipeline Resource during Plans