An example of using the Terraform shell provider to prototype new resources.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
James Mills 7abe835aee
Initial Commit
12 months ago
shell_resources/helloworld Initial Commit 12 months ago
.gitignore Initial Commit 12 months ago
README.md Initial Commit 12 months ago
main.tf Initial Commit 12 months ago
pvodier.tf Initial Commit 12 months ago

README.md

Example shell provider prototype

An example of using the [shell_resource]https://github.com/scottwinkler/terraform-provider-shell/blob/master/examples/test/scripts/read.sh) provider to quickly prototype up a new Terraform provider and resource with full support for:

  • Create
  • Delete
  • Update (in-place)
  • Read

The missing piece of documentation from the shell provider is the fact that the "previous output" is fed as input to the shell scripts that implement Read, Update and Delete.

See: https://github.com/scottwinkler/terraform-provider-shell/issues/96