// SimpleDiff is used by the new protocol wrappers to get a diff that doesn't
// attempt to calculate ignore_changes.
SimpleDiff is used by the new protocol wrappers to get a diff that doesn't
attempt to calculate ignore_changes.
// SimpleDiff is used by the new protocol wrappers to get a diff that doesn ' t // attempt to calculate ignore_changes .
func (p *Provider) SimpleDiff(
	info *terraform.InstanceInfo,
	s *terraform.InstanceState,
	c *terraform.ResourceConfig) (*terraform.InstanceDiff, error) {
	r, ok := p.ResourcesMap[info.Type]
	if !ok {
		return nil, fmt.Errorf("unknown resource type: %s", info.Type)
	}
	return r.simpleDiff(s, c, p.meta)
}
func ( p * Provider ) SimpleDiff ( info * terraform . InstanceInfo , s * terraform . InstanceState , c * terraform . ResourceConfig ) ( * terraform . InstanceDiff , error ) { r , ok := p . ResourcesMap [ info . Type ] if ! ok { return nil , fmt . Errorf ( " " , info . Type ) } return r . simpleDiff ( s , c , p . meta ) }
SimpleDiff is used by the new protocol wrappers to get a diff that doesn't
attempt to calculate ignore_changes.
SimpleDiff is used by the new protocol wrappers to get a diff that doesn ' t attempt to calculate ignore_changes .