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

Convert Terraform plugin to use helper #1405

Closed
lucywyman opened this issue Nov 12, 2019 · 3 comments
Closed

Convert Terraform plugin to use helper #1405

lucywyman opened this issue Nov 12, 2019 · 3 comments
Assignees
Labels
Feature New features and improvements.

Comments

@lucywyman
Copy link
Contributor

lucywyman commented Nov 12, 2019

Use Case

The Terraform plugin should use the ruby plugin helper library. We should wait to release this until other plugins are converted

Additional Context

With the addition of the plans/tasks in GH-1360 puppetlabs/puppetlabs-terraform#4 the plan/task parameters map to terraform CLI options. The resolve_reference task uses statefile for state, we should update it to match the CLI and roll that breaking change into the target_mapping breaking change.

@lucywyman lucywyman added the Feature New features and improvements. label Nov 12, 2019
@donoghuc
Copy link
Contributor

donoghuc commented Nov 12, 2019

$ terraform state show --help
Usage: terraform state show [options] ADDRESS

  Shows the attributes of a resource in the Terraform state.

  This command shows the attributes of a single resource in the Terraform
  state. The address argument must be used to specify a single resource.
  You can view the list of available resources with "terraform state list".

Options:

  -state=statefile    Path to a Terraform state file to use to look
                      up Terraform-managed resources. By default it will
                      use the state "terraform.tfstate" if it exists.

@beechtom
Copy link
Contributor

@donoghuc
Copy link
Contributor

Closed by puppetlabs/puppetlabs-terraform#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New features and improvements.
Projects
None yet
Development

No branches or pull requests

3 participants