Sha256: b87d7c11b27881731cdc980c04835f915a965d10e5d1f1b71eb991ac718b7975
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
# frozen_string_literal: true require 'json' require 'yaml' require 'terracop/cop/aws/bad_password_policy' require 'terracop/cop/aws/describe_security_group_rules' require 'terracop/cop/aws/ensure_propagated_tags' require 'terracop/cop/aws/ensure_tags' require 'terracop/cop/aws/fault_intolerant' require 'terracop/cop/aws/iam_inline_policy' require 'terracop/cop/aws/iam_policy_attachment' require 'terracop/cop/aws/open_egress' require 'terracop/cop/aws/open_ingress' require 'terracop/cop/aws/open_ssh' require 'terracop/cop/aws/prefer_launch_templates' require 'terracop/cop/aws/unrestricted_egress_ports' require 'terracop/cop/aws/unrestricted_ingress_ports' require 'terracop/cop/aws/wide_egress' require 'terracop/cop/aws/wide_ingress' require 'terracop/cop/style/dash_in_resource_name' require 'terracop/cop/style/resource_type_in_name' require 'terracop/cop/style/snake_case' require 'terracop/formatters/default' require 'terracop/formatters/html' require 'terracop/formatters/json' require 'terracop/plan_loader' require 'terracop/runner' require 'terracop/state_loader' require 'terracop/version' # Wrapper module for the gem. module Terracop class Error < StandardError; end class << self def config @config ||= begin defaults_path = File.join(__dir__, '../default_config.yml') overrides_path = '.terracop.yml' config = YAML.safe_load(File.read(defaults_path)) || {} if File.exist?(overrides_path) config.merge!(YAML.safe_load(File.read(overrides_path)) || {}) end config end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
terracop-0.2.0 | lib/terracop.rb |