mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
Address review comments
Co-authored-by: James Humphries <James@james-humphries.co.uk> Co-authored-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ decisions.
|
||||
#### Ephemeral variables
|
||||
Since ephemeral variables can't be stored in a planfile, any ephemeral variables set during the generation of a planfile from `tofu plan` must also be set when running tofu apply.
|
||||
|
||||
For example, if `-var` has been used to create the planfile (`tofu plan -var "token=$MY_TOKEN"`), the same argument _must_
|
||||
For example, if `-var` has been used to provide an ephemeral variable `token` to create the planfile (`tofu plan -var "token=$MY_TOKEN"`), the same argument _must_
|
||||
be set for the apply command (`tofu apply -var "token=$MY_TOKEN" planfile`).
|
||||
If required ephemeral variables are not provided to the apply command, OpenTofu will exit with a clear message of additional variables that must be specified.
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ As part of this concept, the following constructs can be used:
|
||||
## Compatibility
|
||||
:::warning
|
||||
This concept is inspired by and aims for compatibility with the equivalent "Ephemeral" concept in Terraform v1.12.
|
||||
If incompatibilities are discovered, we will consider accepting breaking changes in subsequent versions
|
||||
If incompatibilities are discovered, the OpenTofu team will consider accepting breaking changes in subsequent versions
|
||||
of OpenTofu to ensure compatibility.
|
||||
:::
|
||||
|
||||
@@ -59,7 +59,7 @@ terraform {
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = "6.0.0-beta1"
|
||||
version = ">=6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,7 @@ description: >-
|
||||
Write-only attributes can be used only with OpenTofu v1.11 onwards.
|
||||
:::
|
||||
|
||||
This attribute is only found in [`managed resources`](../resources/index.mdx)
|
||||
designed to accept transient values that will never be stored in the state or plan.
|
||||
This attribute is only found in [`managed resources`](../resources/index.mdx) that are designed to accept transient values that will never be stored in the state or plan.
|
||||
For example, a secret can be read by using an ephemeral resource and then passed into the write-only
|
||||
attribute `password_wo` of a managed resource.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user