Skip to content
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

[FEATURE] Improve testing for handling of manually deleted resources #519

Open
lechnerc77 opened this issue Nov 8, 2023 · 0 comments
Open
Labels
enhancement New feature or request test-setup Setup of integration tests

Comments

@lechnerc77
Copy link
Member

Improve the test scenarios for all resources READ operations for the handling of manually removed resources.

Scenario is:

  • A resource is created via Terraform configuration (state is captured)
  • The resource is deleted manually in the SAP BTP cockpit or via CLI (Terraform state still holds the information)
  • A consequent READ should trigger a re-create of the entity as described in the best practices (see <>)

Testing this scenario is currently not possible via the testing framework (see hashicorp/terraform-plugin-testing#118 (comment)). This gap will be closed in a future release. After that the corresponding test cases must be added to our testing setup .

@lechnerc77 lechnerc77 added enhancement New feature or request test-setup Setup of integration tests labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test-setup Setup of integration tests
Projects
None yet
Development

No branches or pull requests

1 participant