terraform-provider-null icon indicating copy to clipboard operation
terraform-provider-null copied to clipboard

Added documentation on local-exec error codes

Open sprutner opened this issue 6 years ago • 1 comments

This documents how a null_resource will not be created if the local-exec provisioner returns a non-zero error code, and how this can be used.

sprutner avatar Jun 07 '19 21:06 sprutner

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

hashicorp-cla avatar Nov 22 '20 08:11 hashicorp-cla

Hi @sprutner 👋 Thank you for requesting this documentation change and apologies it was not reviewed in a timely fashion.

The provisioner functionality in Terraform is a concept that applies to any resource and not this resource in particular. Therefore, if this documentation were to be introduced, it seems more appropriate to include directly with the local-exec provisioner content so anyone can discover and benefit from this additional information. The current documentation can be found at https://www.terraform.io/language/resources/provisioners/local-exec which is sourced from https://github.com/hashicorp/terraform/blob/main/website/docs/language/resources/provisioners/local-exec.mdx if you would like to contribute this type of change there.

Thanks again.

bflad avatar Oct 13 '22 17:10 bflad

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar May 26 '24 11:05 github-actions[bot]