Skip to content

Conversation

@henryrecker-pingidentity
Copy link
Contributor

@henryrecker-pingidentity henryrecker-pingidentity commented Dec 1, 2025

Change Description

Add pingone_davinci_flow beta resource

Change Characteristics

  • This PR contains beta functionality
  • This PR requires introduction of breaking changes
  • No changelog entry is needed

Checklist

All full (or complete) PRs that need review prior to merge should have the following box checked.

If contributing a partial or incomplete change (expecting the development team to complete the remaining work) please leave the box unchecked

  • Check to confirm: I have performed a review of my PR against the PR checklist and confirm that:
    • The changelog entry has been included according to the changelog process
    • Changes have proper test coverage (including regression tests)
    • Impacted resource, data source and schema descriptions have been reviewed and updated
    • Impacted resource and data source documentation HCL examples have been reviewed and updated
    • Does not introduce breaking changes (unless required to do so)
    • I am aware that changes to generated code may not be merged

Required SDK Upgrades

Testing

This PR has been tested with:

  • Unit tests (please paste commands and results below)
  • Acceptance tests (please paste commands and results below)
  • End-to-end tests (please paste the link to the actions workflow runs)
  • Not applicable (no evidences needed)

Shell Command(s)

TF_ACC=1 TESTACC_BETA=true go test -tags=beta -v -timeout 300s -run ^TestAccDavinciFlow github.com/pingidentity/terraform-provider-pingone/internal/service/davinci

Testing Results

Includes some access failed errors in post-test destroys, but the tests themselves pass

Expand Results
=== RUN   TestAccDavinciFlow_RemovalDrift
=== PAUSE TestAccDavinciFlow_RemovalDrift
=== RUN   TestAccDavinciFlow_MinimalMaximalClean
=== PAUSE TestAccDavinciFlow_MinimalMaximalClean
=== RUN   TestAccDavinciFlow_MinimalMaximalWithBootstrap
=== PAUSE TestAccDavinciFlow_MinimalMaximalWithBootstrap
=== RUN   TestAccDavinciFlow_BasicClean
=== PAUSE TestAccDavinciFlow_BasicClean
=== RUN   TestAccDavinciFlow_BasicWithBootstrap
=== PAUSE TestAccDavinciFlow_BasicWithBootstrap
=== RUN   TestAccDavinciFlow_EmptyObjectsInSettings
=== PAUSE TestAccDavinciFlow_EmptyObjectsInSettings
=== RUN   TestAccDavinciFlow_ComplexObjectsInSettings
=== PAUSE TestAccDavinciFlow_ComplexObjectsInSettings
=== RUN   TestAccDavinciFlow_VariableRefsClean
=== PAUSE TestAccDavinciFlow_VariableRefsClean
=== RUN   TestAccDavinciFlow_VariableRefsWithBootstrap
=== PAUSE TestAccDavinciFlow_VariableRefsWithBootstrap
=== RUN   TestAccDavinciFlow_NewEnv
=== PAUSE TestAccDavinciFlow_NewEnv
=== RUN   TestAccDavinciFlow_BadParameters
=== PAUSE TestAccDavinciFlow_BadParameters
=== CONT  TestAccDavinciFlow_RemovalDrift
=== CONT  TestAccDavinciFlow_ComplexObjectsInSettings
=== CONT  TestAccDavinciFlow_BasicClean
=== CONT  TestAccDavinciFlow_EmptyObjectsInSettings
=== CONT  TestAccDavinciFlow_BasicWithBootstrap
=== CONT  TestAccDavinciFlow_NewEnv
=== CONT  TestAccDavinciFlow_BadParameters
=== CONT  TestAccDavinciFlow_MinimalMaximalClean
=== CONT  TestAccDavinciFlow_VariableRefsWithBootstrap
=== CONT  TestAccDavinciFlow_VariableRefsClean
=== CONT  TestAccDavinciFlow_MinimalMaximalWithBootstrap
--- PASS: TestAccDavinciFlow_EmptyObjectsInSettings (23.19s)
=== NAME  TestAccDavinciFlow_BadParameters
    resource_davinci_flow_gen_test.go:394: Error running post-test destroy, there may be dangling resources: ACCESS_FAILED
--- FAIL: TestAccDavinciFlow_BadParameters (23.49s)
--- PASS: TestAccDavinciFlow_ComplexObjectsInSettings (23.66s)
--- PASS: TestAccDavinciFlow_NewEnv (47.39s)
--- PASS: TestAccDavinciFlow_RemovalDrift (92.40s)
--- PASS: TestAccDavinciFlow_VariableRefsClean (93.27s)
=== NAME  TestAccDavinciFlow_VariableRefsWithBootstrap
    resource_davinci_flow_gen_test.go:334: Error running post-test destroy, there may be dangling resources: ACCESS_FAILED
--- FAIL: TestAccDavinciFlow_VariableRefsWithBootstrap (97.95s)
=== NAME  TestAccDavinciFlow_BasicWithBootstrap
    resource_davinci_flow_gen_test.go:206: Error running post-test destroy, there may be dangling resources: ACCESS_FAILED
--- FAIL: TestAccDavinciFlow_BasicWithBootstrap (127.93s)
=== NAME  TestAccDavinciFlow_BasicClean
    resource_davinci_flow_gen_test.go:206: Error running post-test destroy, there may be dangling resources: ACCESS_FAILED
--- FAIL: TestAccDavinciFlow_BasicClean (130.02s)
--- PASS: TestAccDavinciFlow_MinimalMaximalClean (215.91s)
=== NAME  TestAccDavinciFlow_MinimalMaximalWithBootstrap
    resource_davinci_flow_gen_test.go:95: Error running post-test destroy, there may be dangling resources: ACCESS_FAILED
--- FAIL: TestAccDavinciFlow_MinimalMaximalWithBootstrap (226.32s)
FAIL
FAIL	github.com/pingidentity/terraform-provider-pingone/internal/service/davinci	226.853s
FAIL

End-to-end Tests Workflow Links

Logic for writing to state untested and almost certainly doesn't work
Prevent unnecessary plans due to computed values and missing is_expanded handling
Allows for larger precision floats
Currently failing due to computed value with stopgap UseStateForUnknown in place
Will still need to add validators to child required attributes preferred_data_type and property_name. Had to add computed+optional to all children of input_schema.
Keeps test file size manageable
… attrs

This allows us to effectively require the attribute while avoid unnecessary plans
These retries account for permissions that have not propagated yet on the backend
Only pass in string on post/put, cast to string on response if necessary
@henryrecker-pingidentity henryrecker-pingidentity requested a review from a team as a code owner December 1, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants