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

step field no longer work with terraform 0.12.x #12

Open
runlevel5 opened this issue Aug 18, 2020 · 0 comments
Open

step field no longer work with terraform 0.12.x #12

runlevel5 opened this issue Aug 18, 2020 · 0 comments

Comments

@runlevel5
Copy link
Contributor

runlevel5 commented Aug 18, 2020

Context

Given:

resource "buildkite_pipeline" "terraform_test" {
  name       = "terraform-test"
  repository = "[email protected]:you/repo.git"

  step = [
    {
      type    = "script"
      name    = ":llama: Tests"
      command = "echo Hello world!"
    },
  ]
}

When applying with terraform 0.12, it would yield following error:

Error: Unsupported argument

  on demo.tf line 5, in resource "buildkite_pipeline" "terraform_test":
   5:   step = {

An argument named "step" is not expected here. Did you mean to define a block
of type "step"?

It might be related to the breaking syntax changes. Ref: https://www.terraform.io/docs/extend/terraform-0.12-compatibility.html#configuration-syntax-changes

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