Silessian
PlanApply for Jira Cloud
PlanApply for Jira Cloud
  • Introduction
    • 🚀About PlanApply for Jira
    • 🛸Features overview
    • 📚Use cases
    • 💿Data structure and processing
    • 💡Workflow
  • Configuration
    • Get started - app configuration
      • 1. Client configuration
      • 2. Submission and provider configuration
      • 3. Remote repositories
  • Global features
    • Designer - getting started
    • 📐Designer
      • Toolbox section
        • Toolbox
        • Templates
        • Import / Export
        • Plan details
        • Submission
        • Collaboration
    • Diagram area
      • Diagram actions
      • Importing objects
      • Adding new elements
      • Updating element details
      • Linking objects
    • 🌏Plan browser
  • Admin features
    • Workspaces
    • Remote repositories
    • Plan browser
    • Terraform console
      • Workspace tab
      • Toolbox tab
      • Terraform tab
        • Generate config
        • Plan
        • Apply
      • Transform tab
    • AI Assistant
    • Execution logs
  • Terraform Provider for Jira Cloud
    • Terraform provider for Jira cloud
      • jira-cloud Provider
      • atlcloudjira_groups (Data Source)
      • atlcloudjira_issues (Data Source)
      • atlcloudjira_users (Data Source)
      • atlcloudjira_customfield (Resource)
      • atlcloudjira_dashboard (Resource)
      • atlcloudjira_field_configuration_scheme (Resource)
      • atlcloudjira_field_configuration (Resource)
      • atlcloudjira_filter (Resource)
      • atlcloudjira_issue_link_type (Resource)
      • atlcloudjira_issue_type_scheme (Resource)
      • atlcloudjira_issue_security_scheme (Resource)
      • atlcloudjira_issue_type_screen_scheme (Resource)
      • atlcloudjira_issue_type (Resource)
      • atlcloudjira_notification_scheme (Resource)
      • atlcloudjira_priority_sequence (Resource)
      • atlcloudjira_permission_scheme (Resource)
      • atlcloudjira_priority (Resource)
      • atlcloudjira_project_component (Resource)
      • atlcloudjira_project_role (Resource)
      • atlcloudjira_project (Resource)
      • atlcloudjira_screen_scheme (Resource)
      • atlcloudjira_screen (Resource)
      • atlcloudjira_status (Resource)
      • atlcloudjira_workflow_scheme (Resource)
      • atlcloudjira_workflow (Resource)
  • Support
    • How to report a bug?
  • 🔓Security statement
Powered by GitBook
On this page
  • Transform HCL to JSON
  • Transform JSON to HCL
  • Save canvas data to JSON
  1. Admin features
  2. Terraform console

Transform tab

PreviousApplyNextAI Assistant

Last updated 9 months ago

Transform tab is used to transform Terraform code into diagrams that can be presented on interactive Canvas. Operation can also be reversed.

Transform HCL to JSON

  1. Select all Terraform files that you want to transform into graph

  2. As an output, you need to select or create two new files.

  3. Click on convert.

Transform JSON to HCL

Transform HCL JSON into Terraform code and style it with "terraform fmt" command.

  1. Select JSON file to convert.

  2. Select existing or create new file as an output for Terraform code.

Load JSON to canvas.

Load Graphviz and HCL data into interactive diagram. To verify data display, switch view from Text to Canvas.

  1. Convert Terraform files into HCL and Graphviz JSON data.

  2. Select HCL JSON and Graphviz data to be loaded into Canvas.

  3. Switch view from Text to Canvas

  4. If you plan to change data on Canvas, you need to Save it back to JSON file.

Save canvas data to JSON

If you plan to change data on diagram and transform it to Terraform code, follow steps below:

  1. Make changes on diagram.

  2. Click on "Save Canvas JSON to file"

  3. Select existing or type new file name.

  4. Verify that file was updated with new data.

Select all Terraform files to convert. Type new or use existing file to store Graphviz JSON data.
Type new or use existing file to store HCL JSON data. They store Terraform data about resources in JSON format.
Newly created JSON files that can be used to load into Canvas.
Select JSON file to convert into Terraform code. Create new or select existing file as an output.
Verify transformation output in Execution logs. Reload workspace to check newly created files.
Example output of Terraform to JSON convertion. When Canvas changes are saved, they will be reflected in HCL JSON.
Example output of JSON to Terraform conversion.
Select files to be loaded into canvas.
Change mode to Canvas.