Skip to content

Commit

Permalink
Update website/docs/plugin/framework/ephemeral-resources/validate-con…
Browse files Browse the repository at this point in the history
…figuration.mdx

Co-authored-by: Selena Goods <[email protected]>
  • Loading branch information
austinvalle and SBGoods authored Oct 30, 2024
1 parent 3340925 commit 9aef978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This page describes implementation details for validating entire ephemeral resou
- [Single attribute validation](/terraform/plugin/framework/validation#attribute-validation) is a schema-based mechanism for implementing attribute-specific validation logic.
- [Type validation](/terraform/plugin/framework/validation#type-validation) is a schema-based mechanism for implementing reusable validation logic for any attribute using the type.

-> Configuration validation in Terraform occurs without provider configuration ("offline"), so therefore the ephemeral resource `Configure` method will not have been called. To implement validation with a configured API client, use logic within the `Open` method, which occurs during Terraform's planning phase when possible.
-> Configuration validation in Terraform occurs without provider configuration ("offline"), therefore the ephemeral resource `Configure` method will not have been called. To implement validation with a configured API client, use logic within the `Open` method, which occurs during Terraform's planning phase when possible.

## ConfigValidators Method

Expand Down

0 comments on commit 9aef978

Please sign in to comment.