Start a conversation

Using TerraForm to install CloudFix

Overview

While the preferred and recommended method to install CloudFix is with the CloudFormation templates that seamlessly integrate with our onboarding process, we have prepared a complete Terraform implementation for CloudFix as an alternative to our default templates. This implementation is available at: https://github.com/gleesonb-aurea/cloudfix-terraform

What's Included

The Terraform implementation includes:

  1. A single Terraform file (cloudfix.tf) that creates all necessary resources, replicating what we have in our regular CloudFormation templates

  2. Lambda function code and package script for required automation. We've replaced CloudFormation dependencies in these functions with Terraform-compatible alternatives

  3. A script for multi-account deployment across your AWS organization. This is crucial - the CloudFix finder role must be deployed to all accounts in your organization for CloudFix to validate findings

  4. Documentation in the README, including a list of all resources created

Important Configuration Notes

Cost and Usage Report

By default, the Terraform implementation creates a new Cost and Usage Report (CUR). If you want to use an existing CUR instead, you'll need to update the .tf file with the ARN of your existing CUR.

Required Parameters

To implement CloudFix with Terraform, you'll need unique TenantId and ExternalId values for your organization.

Please contact CloudFix Support to obtain your organization-specific values.

Do not use example values you might find in documentation, as they won't work for your implementation.

Getting Started

  1. Clone the repository
  2. Review the README and resource list
  3. Contact CloudFix Support to obtain your unique TenantId and ExternalId
  4. Update the parameters in the Terraform file
  5. If using an existing CUR, update the configuration accordingly
  6. Deploy using standard Terraform commands

Questions or Issues?

If you have any questions about the Terraform implementation or encounter any issues during deployment, please contact CloudFix Support.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Bill Gleeson

  2. Posted
  3. Updated

Comments