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: no step configured #55

Open
rossrollin opened this issue Mar 29, 2021 · 1 comment
Open

Error: no step configured #55

rossrollin opened this issue Mar 29, 2021 · 1 comment

Comments

@rossrollin
Copy link

Guys am I missing something here? Following your readme I get the following error:

fly -t concourse-poc sp -p terraform-pipeline -c pipeline.yml -v aws-access-key=redacted -v aws-secret-key=redacted
error: error unmarshaling JSON: while decoding JSON: no step configured


pipeline.yml:

---
resources:
  - name: master-branch
    type: git
    source:
      uri: https://github.com/rossrollin/terraform-poc
      branch: master
  - name: common-tasks
    type: git
    source:
      uri: https://github.com/telia-oss/concourse-tasks.git
      branch: master

jobs:
  - name: terraform-pipeline
    serial: true
    plan:
      - aggregate:
        - get: master-branch
          trigger: true
        - get: common-tasks
          params: { submodules: [ terraform ] }
        - task: terraform-plan
          file: common-tasks/terraform/0.12.29.yml
          input_mapping: { source: master-branch }
          params:
            command: plan
            cache: true
            access_key: ((aws-access-key))
            secret_key: ((aws-secret-key))
            directory: terraform-poc/dev

Very new to concourse though so could be doing something wrong, I just cant figure out what

@rossrollin
Copy link
Author

Removing the aggregate bit fixes it.

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