Company
Date Published
Author
Chris Marchesi
Word count
1315
Language
English
Hacker News points
None

Summary

The next generation of Sentinel imports for Terraform Cloud is almost here, offering a completely re-designed import API to better reflect Terraform 0.12's updated data model, addressing several shortcomings in the existing Terraform 0.11 API and the 0.12 shim. The new imports aim to simplify resource discovery with filter, address long-standing issues with diff data, state attributes, and module traversal. The new format is more expressive than the pre-0.12 diff data format, making it easier to filter out specific kinds of changes and identify certain operations. Additionally, users can now access raw JSON plan data under the `raw` key in `tfplan/v2`. The imports are currently in technology preview and may be subject to change, but they will eventually become the default import.