code: func IsInstanceTypeChangedError(err error) bool {
  	if awserr, ok := err.(awserr.Error); ok {
  		return strings.Contains(awserr.Message(), InstanceTypeChangedErrorMessage)
  	}
  	return false
  }
docs: // IsInstanceTypeChangedError returns true if the error when
  // registering the container instance is because of instance type being
  // changed