docs/function/timestamp: Mention Time Provider (#26232)

This utility Terraform Provider has resources designed to handle and store time information by participating normally in the graph.
This commit is contained in:
Brian Flad 2020-09-14 16:40:36 -04:00 committed by GitHub
parent b9a77fb214
commit db2b710776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ directly with resource attributes will cause a diff to be detected on every
Terraform run. We do not recommend using this function in resource attributes,
but in rare cases it can be used in conjunction with
[the `ignore_changes` lifecycle meta-argument](../resources.html#ignore_changes)
to take the timestamp only on initial creation of the resource.
to take the timestamp only on initial creation of the resource. For more stable
time handling, see the [Time Provider](https://registry.terraform.io/providers/hashicorp/time/).
Due to the constantly changing return value, the result of this function cannot
be predicted during Terraform's planning phase, and so the timestamp will be