Release automation, Prevent Destroy tag, HTTP API Reference | Tecton

Tecton

Home / Whats New / Release automation, Prevent Destroy tag, HTTP API Reference /

Release automation, Prevent Destroy tag, HTTP API Reference

New CLI features for release automation

We typically recommend integrating Tecton with your CI/CD process to ensure the reliability of your features. The new json output and ‘apply by plan ID’ functionality enables adding more safeguards to your automated release process.

First, the tecton plan --json-out option provides an easily machine-parsable plan. This output enables you to build simple safeguards, such as “fail if there is more than one DELETE operation on a FEATURE_VIEW.”

Then, once the plan has been evaluated, you can directly apply that prior plan output with tecton plan --apply-id=123. This new option helps avoid a possible race condition where the feature repo may have been modified after already evaluating the plan.

See the updated CI/CD guide in our documentation for more detail.

Prevent Destroy Tag for Feature Views

Unintentionally deleting a production Feature View can lead to significant infrastructure cost and unavailability for production models. The prevent_destroy tag adds another safeguard against unintentional deletion, and can be combined with the CI/CD processes discussed above.

To use this feature, add tags={'prevent_destroy': 'true'} to your Feature View configuration. Once in place, any tecton apply attempting to delete or recreate the Feature View will fail. If you truly intend to delete the object, you can first delete the tag.

See the documentation for more detail.

HTTP API Reference

An updated HTTP API Reference is now available from our documentation site. This documentation includes details to help your integration with Tecton’s online feature serving, such as what error codes to expect.

Introducing Tecton SDK 0.3

Tecton SDK version 0.3 has just been released and is now available. We highly recommend upgrading to version 0.3 to access new features and improvements. Note that version 0.2 of the SDK will continue to be supported until June 2022.

Read More »

© Tecton, Inc. All rights reserved. Various trademarks held by their respective owners.

Request a free trial

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​

Tell us a bit more...​

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​

Request a free trial

Interested in trying Tecton? Leave us your information below and we’ll be in touch.​