Morpheus Terraform Profiles

By: Morpheus Data

The recently released 5.4.0 version of the Morpheus platform includes an exciting new feature for users upgrading from the previous LTS release version (5.2.x) of the platform. The Morpheus platform supports the execution of HashiCorp Terraform Infrastructure as Code (IaC) to provision and manage cloud resources. Terraform profiles enhance the platform’s Terraform functionality by enabling administrators to assign cloud specific data such as account numbers, credentials and other Terraform variables to a Morpheus cloud.

Terraform Profiles Overview

Easily decouple cloud or environment specific metadata from a Terraform blueprint or instance type with Terraform profiles. The development and production AWS accounts in the diagram below each have a separate cost center associated with them. The Terraform blueprint uses the cloud specific cost center as a variable due to the Terraform profile associated with each cloud.

Morpheus Terraform profile architecture diagram

Creating a profile

Creating a Terraform profile is as simple as going to the cloud in Morpheus and adding the profile from the Profiles tab. Select Terraform Profile to open the Edit Terraform Profile dialog.

Morpheus cloud

Populate the Terraform profile with Terraform variables. The example below includes the AWS credentials for the cloud along with the account owner and cost center. Morpheus cypher, the native secrets store securely stores the profile data.

Edit Terraform profile dialog box

Once the profile has been saved it can be edited or deleted using the pencil icon. One thing to note is that each Morpheus cloud only supports a single Terraform profile.

Terraform profile cloud entry

A corresponding entry in the cypher store based upon the tfvars/profile/cloud/$cloudCode/variables naming convention is added for each profile.

Terraform profile cypher entry

With the profile added to the cloud, any Terraform blueprint or instance type provisioned into the cloud automatically has the variables injected at runtime. The addition of Morpheus Terraform Profiles unlocks the ability to easily consume reusable Terraform code.

Try Morpheus Community Edition or Get a Demo
The Morpheus Community Edition lets you fully experience the Morpheus platform including nearly all features and capabilities! Register at Morpheus Hub and try it in your home lab or test environment today! Interested in learning more about Morpheus from one of our cloud transformation experts? Schedule a demo to walk through how Morpheus can help your organization here.

Related Resources

  • card listing image
    Sep 2024 | Paper
    Morpheus Data Reference Architecture for 7.x
  • listing image
    Aug 2024 | Blog
    NEWS: Morpheus is joining HPE!
  • card listing image
    Aug 2024 | Webinar
    Tech Brief: Sharing Terraform Outputs
  • listing image
    Aug 2024 | Blog
    Cloud Field Day 20: A NeverEnding Story of Innovation
  • listing image
    Jul 2024 | Paper
    ISG Provider Lens – Hybrid Cloud Management
  • card listing image
    Jun 2024 | Webinar
    Cloud Field Day 20 – Morpheus in 2024: The Critic...
  • card listing image
    Jun 2024 | Webinar
    Cloud Field Day 20 – Morpheus Tech Foundation: De...
  • card listing image
    May 2024 | Webinar
    Tech Brief: Integrating Morpheus and GitHub Actions
  • listing image
    Mar 2024 | Blog
    NEWS: Hypervisor Independence from Broadcom and VMware
  • card listing image
    Dec 2023 | Webinar
    Tech Brief: Morpheus & HashiCorp Vault