in check/that.go [47:70]
func (t ThatType) Key(key string) ops.Operative {
ref := fmt.Sprintf("%s.%s", t.ResourceName, key)
if !t.exists() {
return ops.Operative{
Exist: false,
Reference: ref,
}
}
actual, ok := t.Plan.ResourcePlannedValuesMap[t.ResourceName].AttributeValues[key]
if !ok {
return ops.Operative{
Exist: false,
Reference: ref,
}
}
return ops.Operative{
Exist: true,
Reference: ref,
Actual: actual,
}
}