You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, i stumbled across this as well and i am actually unsure what is the difference. At least documentation is not clear here.
While testing a bit, it seems that Plan may contain unknown values. Config did seem to contain the final values.
Indeed, the general recommendation for the Create method is to access the plan instead of configuration. The following documentation and code should reflect this now:
I could be mistaken on this, but the documentation and hashicups all recommend reading from the plan for create.
However, this scaffolding is configured to read from config:
terraform-provider-scaffolding-framework/internal/provider/example_resource.go
Line 58 in 194f73f
edit: As an aside, I'm not super clear on when you would actually read directly from config outside of a data source.
The text was updated successfully, but these errors were encountered: