-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: Add ephemeral resource schema and lifecycle tests #283
Conversation
Heh, the deferred action tests are failing because we made the assumption that we'd only ever run tests on pre-releases that were alphas. We should probably create a more specific version check for usage here. func TestDeferredActionResource_ProviderDeferral(t *testing.T) {
resource.UnitTest(t, resource.TestCase{
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
tfversion.SkipBelow(tfversion.Version1_9_0),
// Beta is also pre-release, but doesn't have experiments (deferred actions) enabled
tfversion.SkipIfNotPrerelease(),
}, |
I opened hashicorp/terraform-plugin-testing#388 and merged it into the |
…rm-provider-corner into av/ephemeral-resources
This PR introduces some smoke tests for ephemeral resources released in
terraform-plugin-framework v1.13.0
, which are available in Terraform v1.10.0-beta.There is one known bug in Terraform core where ephemeral resources are invoked with unknown values, which should not happen (similar to data sources, which are skipped until all config values are known). I wrote a negative test here for us to update once the next Terraform core beta releases with the fix.^^ This has been adjusted to a normal positive test in 046f43c now that we're running
1.10.0-rc1
⚡