provider/terraform.rb
# Constructs the key uniquely identifying a property for a given resource.
#
# The key can take one of these formats:
# - 'foo': Top-level property 'foo'
# - 'foo.bar': Property 'bar' nested under property 'foo'
# - 'foo.*.bar': Property 'bar' of all nested objects in list 'foo'
Constructs the key uniquely identifying a property for a given resource.
Constructs the key uniquely identifying a property for a given resource .
def construct_property_key(property)
      return property.name if property.parent.nil?
      if property.parent.is_a?(Api::Type::Array)
        construct_property_key(property.parent) + '.*'
      else
        construct_property_key(property.parent) + '.' + property.name
      end
    end
def construct_property_key ( property ) return property . name if property . parent . nil? if property . parent . is_a? ( Api :: Type :: Array ) construct_property_key ( property . parent ) + '.*' else construct_property_key ( property . parent ) + '.' + property . name end end
Constructs the key uniquely identifying a property for a given resource.
Constructs the key uniquely identifying a property for a given resource .
property
<not_specific>