Auto Option

You can run Terraspace in continuous integration setup or automated pipeline with tools like Jenkins, Cody (AWS CodeBuild), etc with some flags. Here’s an example:

terraspace plan demo --auto --out a.plan
terraspace up demo --auto --plan a.plan

What does the –auto flag do?

The --auto flag tells Terraspace to run an automated and unattended manner.

Consistent plan file

We also use the --out a.plan option to write the plan to a file. By using the file in the terraspace up command later, it ensures a consistent plan is applied in an automated setting.

More tools: