struct Analyzer::Specification::Terraform::TfResource

Overview

A parsed resource "type" "name" { ... } block with only the attributes in TARGET_ATTRS captured.

Defined in:

analyzer/analyzers/specification/terraform.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, name : String, attrs : Hash(String, String)) #

[View source]

Instance Method Detail

def attrs : Hash(String, String) #

def clone #

[View source]
def copy_with(type _type = @type, name _name = @name, attrs _attrs = @attrs) #

[View source]
def name : String #

def type : String #