terraform-provider-null
terraform-provider-null copied to clipboard
Added documentation on local-exec error codes
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.
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.
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.
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.