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 running example from readme #120

Open
jaklaassen opened this issue May 13, 2020 · 1 comment
Open

Error running example from readme #120

jaklaassen opened this issue May 13, 2020 · 1 comment

Comments

@jaklaassen
Copy link

jaklaassen commented May 13, 2020

I might have this misconfigured, but I just can't see it. I used to be able to run this example from the README (https://github.com/ljfranklin/terraform-resource#plan-and-apply-example) with a config like this:

- name: stage-plan
  plan:
  - put: terraform
    params: &terraform_plan_params
      plan_only: true
      terraform_source: "path_to_configs"
      var_files: [tfvars/terraform.tfvars]
- name: stage-apply
  plan:
  - get: terraform
    trigger: false
    passed: [stage-plan]
  - put: terraform
    params:
      plan_run: true

Now I get: "missing required field terraform.source" on the put step of stage-apply.

ljfranklin added a commit that referenced this issue May 14, 2020
@ljfranklin
Copy link
Owner

@jaklaassen whoops, looks like I made some weird omissions last time I updated the README. Just updated the README here to give a more realistic example. Give that a try and let me know if you're still running into issues. Thanks for the heads up!

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