Drift Detection - Supported / Unsupported Elements #767
Replies: 1 comment 4 replies
-
Hi @tsteckenborn thnaks for that question. In general, a drift can only be detected for resources that are managed by Terraform i.e., that have either been created by or imported to Terraform and are present in the Terraform state. The other way round: if there is no corresponding resource, it won't be managed by Terraform. As you pointed out, the capability of Terraform to detect a drift for these resources depends on the capabilities of the underlying APIs that the Terraform provider uses internally. For SAP BTP there are indeed some flaws with respect to the APIs and the resource-based approach of Terraform. Tehre are two major areas where drifts cannot be detected as of today:
Anyway this is a valid request and I opened an issue for this to improve the documentation with regards to that. It should also comprise the topic of imports of resources as this basically the same story. The issue that you can track is: #768 |
Beta Was this translation helpful? Give feedback.
-
Would it be beneficial to create a list of items for which drifts can and cannot be detected? Reading through some of the issues, it seems like additional administrators assigned to a sub-account, for example, are being ignored / not reported. It might be helpful to know where automatic checks are possible and where a discrepancy cannot be automatically excluded.
Beta Was this translation helpful? Give feedback.
All reactions