Our great sponsors
-
terraformer
CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
That’s where Terraformer, a CLI tool built in Go language, comes into play. Terraformer imports the already created infrastructure as HashiCorp TF files and includes the .tfstate file. It also provides options for remote state sharing and exporting to specified bucket locations. It has a Terraform-like execution plan feature which allows you to see the blueprint of the configuration it’s going to pull before it executes on the existing infrastructure.
-
Either use TFLint in your laptop or a CI/CD pipeline to validate both the structure and content of the Terraform configuration.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Use GOSS, a YML-based open-source tool that can assert the test results (i.e., verifying if the SSH port 22 is closed or not).
-
Do unit testing using RSpechttps://github.com/bsnape/rspec-terraform-based tools, such as Serverspec and Inpec. You can also use a TDD approach, but I personally feel this slows down the development work.
-
For integration testing, use kitchen-framework, which DevOps engineers used with Chef in the past. Terratest, which can test anything that has API, is another option.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Related posts
- Strategies for converting an existing deployment to IaC?
- Policy-as-code is recommended for managing cloud and SaaS services
- Is it possible to import existing infrastructure into Terraform then redeploy it without semantic representation?
- Deactivated SFTP servers from AWS transfer family but still getting charged - can you delete a server but still save all configurations/settings somewhere to spin it up easily later?
- Top Terraform Tools to Know in 2024