dtan4/terraforming

View on GitHub
lib/terraforming/resource/redshift.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method tfstate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def tfstate
        clusters.inject({}) do |resources, cluster|
          attributes = {
            "cluster_identifier"                  => cluster.cluster_identifier,
            "cluster_type"                        => cluster.number_of_nodes == 1 ? "single-node" : "multi-node",
Severity: Minor
Found in lib/terraforming/resource/redshift.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status