Comments (2)
Thanks for the feature request. We evaluate it and update the issue accordingly.
Community Note
Voting for Prioritization
- Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
- If you are interested in working on this issue, please leave a comment.
- If this would be your first contribution, please review the contribution guide.
from terraform-provider-btp.
@ptesny Thanks for the request. I think the request needs to be split into several aspects:
First thing to stress is that Terraform is intended to provision and manage infrastructure in a declarative way. One important design paradigm is the state of the infrastructure. It is not intended to be a drop-in replacement for imperative logic like scripts or CLI commands.
Concerning the specific questions:
How to destroy a BTP resource that was not created by Terraform?
I would like to rephrase this a bit: how to manage resources that have not been provisioned by Terraform? Resources that have not been provisioned by Terraform are invisible to Terraform. You can make them visible and bring them under the management of Terraform by importing them via the so called import
(see documentation). Even with the generative approach mentioned there, this is a quite cumbersome undertaking when it comes to larger landscapes. That's the reason why we are working on a functionality that eases this import for you. For details see #724 .
Handling of the Terraform state
As mentioned above the Terraform state is a central design paardigm for Terraform (and OpenTofu) that enables many features of Terraform (delta updates, drift detection as well as collaborative work on infrastructure via platform teams). Customers have a lot of established options to store the state as described in the documentation. This comprises the storage as a Kubernetes secret, so they could theoretically use Kyma as a state backend.
Having said that the management of cloud infrastructure should not be seen with a siloed via (SAP only) but usually customers have several cloud providers and in most cases state mangement is already established for AWS, Azure or GCP and SAP BTP teams just need to be onboarded here.
While I agree that the state menagement is something a customer needs to think about, it is a necessary part of their cloud journey to do so.
BTP specific state backend
We are not planning to implement a BTP specific Terraform state backend.
from terraform-provider-btp.
Related Issues (20)
- [FEATURE] Support for Service Broker Registration HOT 2
- [BUG] `btp_subaccount_role_collection` silently takes over already existing resource HOT 6
- API Error Reading Resource Subscription (Subaccount) [BUG] HOT 3
- [FEATURE] Add `dashboard_url` property to `btp_subaccount_service_instance` Resource and Data Source HOT 4
- [FEATURE] Resource btp_subaccount_subscription to support Custom or partner-developed applications HOT 7
- [BUG] Templating does not work in error messages HOT 1
- [FEATURE] Add Retry Logic to resources to avoid rate limiting issues HOT 2
- Setting `Available for user logon` as `false` for `sap.default` IDP using the provider resource HOT 2
- [FEATURE] Add Attribute mapping in Subaccount Role Mapping Create HOT 4
- [BUG] Cannot set a numeric quota to zero. Set an amount of zero (0) to remove an existing plan from an assigned directory or subaccount. HOT 12
- [BUG] Error: API Error Deleting Resource Role Collection Assignment (Subaccount). Cannot delete last admin user of subaccount. HOT 4
- [FEATURE] remote backends: s3, HTTP and kubernetes secrets examples HOT 8
- [BUG]Linting & related tests are broken
- Link Checker Report HOT 1
- [Feature Request] btp_subaccount_role with role template "CustomRoleTemplate" and attributes HOT 3
- [BUG] Missing example for data source `btp_directories`
- Link Checker Report HOT 2
- [BUG] Provider Login via IDP HOT 4
- [BUG] Rate limit exceeded errors still occurr HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-btp.