code: func output(stack *cloudformation.Stack, key string) (output *cloudformation.Output) {
  	for _, o := range stack.Outputs {
  		if *o.OutputKey == key {
  			output = o
  		}
  	}
  	return
  }
docs: // output returns the cloudformation.Output that matches the given key.